I'm trying to create a today widget on IOS9 and I can't seem to figure out how to unlock the iPhone when pressing a button.
My widget: when pressing it calls: self.extensionContext openURL this is working when the iPhone is unlocked. but I would like in the locked state, so when pressing the button and executing the openURL method that it goes to the unlock screen, and when unlocked it executes the openURL command.
(I can't find) There is no documentation on this topic or questions asked.
thanks in advance.
It seemed that I used a system link, that isn't documented. and it does not unlock the phone when executed.
the equivalent of this system link , uses a prompt but when locked goes to the unlock screen. and that is what I need.
(tel://) is a system link, and should not be used instead use (telprompt://)
my problem is solved.