With the real iOS lock screen, if a user enters a wrong passcode too many times, they'll be locked out of the device for ever increasing amounts of time.
While I think it should be up to the app in question in order to decide what the policy on incorrect passcodes should be, at the very least, the main passcode view controller should have a UI state that reports that the app has been locked, with a button that can allow the user to navigate back to a non-secure part of the app.
With the real iOS lock screen, if a user enters a wrong passcode too many times, they'll be locked out of the device for ever increasing amounts of time.
While I think it should be up to the app in question in order to decide what the policy on incorrect passcodes should be, at the very least, the main passcode view controller should have a UI state that reports that the app has been locked, with a button that can allow the user to navigate back to a non-secure part of the app.