tags:

views:

154

answers:

4

Is there any way to trigger a reboot of the iPhone programmatically from within your application, either using public or private API?

+3  A: 

No, there isn't, because Apple doesn't allow you to mess with somebody's device like that.

BoltClock
cant it be done with jailbreak
pankaj kainthla
+2  A: 

There is private API for this, but Apple would never approve your app on the AppStore.

David Schiefer
how can i get this api plz tell
pankaj kainthla
You can get the headers for the private frameworks, just google it - but as I said, Apple will never approve an app that uses private frameworks.
David Schiefer
+1  A: 

No, there is no legal way. Mostly because of security reasons. What happens if they allow and somebody trying to write some virus. But illegally, yes, it can, Cydia can do that so we can technically do that

vodkhang
how can i do that with private api ?can u tell the procedure?
pankaj kainthla
+1  A: 

If you jailbreak your iPhone, you can download Terminal and issue the reboot command.

Lionel
really can u tell which command and how?
pankaj kainthla
he just said - you can issue the reboot command - but that's for jailbroken phones only.
David Schiefer