In SpringBoard-Class.h I found the functions such as these:
-(void)_powerDownNow;
-(void)_rebootNow;
-(void)reboot;
-(void)powerDown;
I am trying to use them. My iPhone is jailbroken.
I use [[[SpringBoard alloc] init] reboot]
, but the compiling result is:
Undefined symbols for architecture armv6: "_OBJC_CLASS_$_SpringBoard", referenced from: objc-class-ref in RootViewController.mm.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status.
framework
which it need ... – TheTiger