How can I reboot the iPhone programmatically from within my application?

Pan*_*hla 1 iphone

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

Pri*_*one 5

问题是,你无法在没有用户确认的情况下重启手机.Apple不会让你在用户不知情的情况下重启iphone.这违反了Apple的条款.

要重新启动设备,您需要执行iphone中的文件.这样就可以了.现在是困难的部分,文件的名称和路径是你要弄清楚的东西.

快乐编程!

EMX Dev