Reputation: 587
I am developing an iOS app and one requirement of the app is that the user has to be able to interact with the app through buttons or clickable text on the lock screen. A minimum of 5 and a maximum of 8 buttons are to be shown to the user on the lock screen.
Please suggest what I can use to add this feature to the application.
Upvotes: 0
Views: 1033
Reputation: 13761
Unfortunately, you cannot add controls of any kind to the lock screen in iOS. However, one option that might work for you is a today extension. Today extensions are accessible from the lock screen if enabled by the user.
Apple Docs on Today Extension:
Here’s a good tutorial on how to build a Today Extension:
https://www.raywenderlich.com/150953/today-extension-tutorial-getting-started
Upvotes: 1