I'm new to IOS programming - please keep that in mind. I've come across several apps which perform some action when the wrong passcode is entered into the passcode screen. For example some apps take a photo and do something with it. What is the best way to work with the data entered into the passcode screen? Please note, that I am talking about the main passcode screen which the user has set themselves (not a custom passcode screen developed in the app). I will be very grateful if you can point me in the right direction.