deltaaruna
deltaaruna

Reputation: 538

password protected iOS custom settings bundle

I want to create a password protected iOS custom settings bundle. So, when user needs to change a settings he will be prompted to enter a password. But using the normal settings bundle this is not possible. How can I make such a custom settings bundle?
If it is not possible how can I make a password protected custom settings screen?

Upvotes: 1

Views: 654

Answers (1)

Michaël
Michaël

Reputation: 6734

You can't invoke the passcode screen of the general settings, but you can implement your own passcode screen with components like that :

Passcode open-source components

So you can add in your app settings a UISwich to enable the feature, and prompt the passcode screen to add a new code, and when you have a protected section, tell the passcode with the component.

Upvotes: 1

Related Questions