开发者

shutdown iOS programmatically

Is it possible to shutdown an iOS device (iPhone, iPad, iPod) with objective c开发者_如何学运维? I have searched the internet through and through, and nothing at all has come up. I was just thinking about it, how much control over the device you really have. Does anyone know if this is possible? If so, how?


No, it's not possible in a non-"jailbroken" state. Your app cannot escape it's own "sandbox" and consequently has no access to system calls that could be used to control the power state of the device.

Not only that, but App Store approval chances for this feature would be slim to none.


No, this is not possible on a non-jailbroken device. The operating system maintains control over most of the system-wide functions and access to many things, like power, are prohibited.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜