Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


flagging mechanism

I created an app where users can be exposed to pornographic content. The app review board says that i need to implement a flagging mechanism so users can report other users for sending objectionable content. But the problem is i dont really know how to create a mechanism like that. Any suggestions would be helpful. By the way the app is powered by parse.com. Thanks

Mike Baxter
Mike Baxter
4,442 Points

It looks like Parse has some sample code you can borrow; the photo app would be great. They have a section on how to allow users to like a comment. You should be able to modify that to allow for reporting.

I think the bigger question though is what Apple considers to be a proper implementation of flagging. Their developer documents are usually quite clear on things like user/child safety, which is part of what makes them such an awesome company. Maybe check the developer agreement you got when you signed on as a developer? Maybe also check out the conflict resolution center. I guess the first place I would think to go is to figure out what constitutes proper flagging. i.e., if a single user flags a piece of content, is the content then removed? Do you have to set up a review process? Do you have some minimum number of flags before some piece of content is removed? Does Apple provide some suggested value for this?

I realize that's not quite an answer, which is why I leave it as a comment, but maybe that helps!