Can I add a lock screen on my iOS app?
my requirement is : whenever a user opens the app, he/she need to unlock the app first then only he/she can operate the app.
Can I add a lock screen on my iOS app?
my requirement is : whenever a user opens the app, he/she need to unlock the app first then only he/she can operate the app.
There so There’s no system affordance for this, but plenty of apps do it the hard way:
Present a UI that sits on top of the app’s real content, which prevents the user from seeing or interacting with that content.
Extend that UI to support unlocking.
You included the Face ID tag on your post, so I presume you want to support unlocking with Face ID. If so, check out the Local Authentication framework.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Thank you for your guidance.