Chris Tope
Chris Tope

Reputation: 133

Swift: Home Screen Passcode

Is it possible or is there a way to make an app that automatically do something when the user has entered the wrong passcode in the home screen.? The app should do something only if the passcode is wrong. The passcode I'm talking about are the ones that the user uses to unlock the screen. Only passcode since touchIds are not working on lower versions of iPhones.

If yes, can you give a link on a documentation or maybe even a simple code so I can understand. I'm still a newbie btw. Thanks

Upvotes: 1

Views: 1115

Answers (2)

Julian E.
Julian E.

Reputation: 4755

As the previous answer has already said, Apple doesn't allow you to do anything with the passcode. This is because the developer would be able to get the passcode of the user which would be a major security breach.

On a side note, this is possible on jailbroken iOS devices, however that probably misses your point and is against Apple's guidelines anyways.

Upvotes: 2

ipraba
ipraba

Reputation: 16543

No that is not possible. That is an Apple Restriction.

Third party apps cannot have any access information on the home screen passcode actions.

Upvotes: 1

Related Questions