I had used the following code to prevent the iPhone from entering the sleep mode.
[UIApplication sharedApplication].idleTimerDisabled=YES
But is it possible to put the iphone in Sleep mode programmatically?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No sir, we just can’t do it cap’n… we don’t… have.. the power.
That’s just another thing Apple doesn’t want us tinkering with.