iPhone Dev - How to Reboot or Poweroff

 Published On July 04, 2008

Toolchain only, iPhone OS 1.x:

#import <sys/reboot.h>
...
reboot(RB_HALT); // poweroff
reboot(RB_BOOT); // reboot

Tags: iOS Toolchain

Comments:

comments powered by Disqus