i saw on github a project where the developer used the method _powerDown to powerOff the iPhone or relaunchSpringBoard to respring it.The line of code is this:
[[UIApplication SharedApplication]_powerDown];
but i was searching this method on the class reference of UIApplication but i didn't find it...Could anyone help me?
thanks!