Is there any method that will restart the iPhone on call? It can be an undocumented method (and probably will end up being since I can not find a method like it in the iPhone SDK reference).
Share
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.
There is actually no routine, that I know of in any of the libraries (private or not) to restart the device. That said, if you can call into the kernel you can for sure do it.
Keep in mind of course, that it goes against usability guidelines to be doing this sort of thing. Based on your previous question I answered, you aren’t targeting the app store so it’s likely never going to be an issue; but still. If you have to reboot the phone, there’s a good chance that whatever you’re doing to require that, can be done a different way.