I have a user generated content app in which we need to provide the ability for users to block other users.
In the User database, we have added a BlockedUsers (* to *) so that every user can add other users to block.
Now the issue I have is on one of the app screens where we list all users. This screen needs to be filtered out to only display users who are not blocked by the current logged in user. This is where I need help in creating this filter please.
This is what I have.
I am not finding the ability to select all User and then add a filter to exclude any user who’s also in the BlockedUsers property.
Appreciate the help as I am stuck and the app was rejected by Apple unless I include this capability.