I've a client who is suggesting that you can activate the iPhone lock screen from code. His idea is to send a push notification and lock the phone that way.
I don't think this is possible (for practical reasons mostly).
Am I correct?
I've a client who is suggesting that you can activate the iPhone lock screen from code. His idea is to send a push notification and lock the phone that way.
I don't think this is possible (for practical reasons mostly).
Am I correct?
The answer is in your question itself. It is not possible. You can prevent your phone from locking when your app is running.
Code as,
[UIApplication sharedApplication].idleTimerDisabled = YES