Thursday, September 11, 2025
HomeiOS Developmentswift - Permitting an App to be Used from the Lockscreen on...

swift – Permitting an App to be Used from the Lockscreen on iOS


When utilizing the built-in Maps software on iOS, for those who lock the system whereas navigation is energetic, the navigation display screen will nonetheless be accessible even whereas the system is locked. Nonetheless, this conduct is not noticed with any third-party functions corresponding to Google Maps or Waze.

With my app, after the person begins a activity, I have to have a UI that’s at all times seen till the duty is over. Is there any methodology of getting a customized UI on the lockscreen just like Maps, or is that first get together privilege?

I went by means of the background modes and none seem to supply this performance. So far as I can inform, the one display screen that may be created on the lockscreen is utilizing CallKit, which is proscribed. Even Shortcuts automations can not create UI on the lockscreen. Lock display screen widgets additionally aren’t appropriate for my function; it must be a full-screen UI. At the moment, I’m utilizing isIdleTimerDisabled, however the person might want to lock the cellphone and the UI must be instantly seen. Unlocking the cellphone can be an inconvenience.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments