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.

Issa Issou
320 PointsPreventing users from taking screenshots in an iOS App
how Can i disable the screenshot button in my app? , i am doing a iOS quiz app for my school and i want to prevent people from screenshoting the answers
3 Answers

Stone Preston
42,016 Pointsat this point in time I dont think its possible to prevent the user from taking a screenshot.
You can make it harder for a user to screen shot an answer by only showing the answer when the user touches the screen (like snapchat does). When the user tries to take a screenshot they have to take their finger off the screen which makes the image go away. Its still easy to capture a screenshot though, but its better to make it harder than to not do anything at all I guess

Felix Guerrero
3,813 PointsThis is only restricted by the OS so I hope Apple (someday) allows us to disable that feature in iOS.

Issa Issou
320 Pointslets cross fingers then

Felix Guerrero
3,813 PointsJust looking around I found this http://www.raywenderlich.com/48001/easily-overlooked-new-features-ios-7#screenshot.
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsThis would be your best option...
Issa Issou
320 PointsIssa Issou
320 Pointsthanks for the answer