通过编程重新启动iOS设备

通过编程重新启动iOS设备

本文介绍了通过编程重新启动iOS设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我正在寻找任何方式去做这一切,无论多么繁琐或不直观,只要它可以做到在iOS 7(这是第三方SBSettings框架目前不能),可以是

Basically, I'm looking for any way to go about this at all, no matter how cumbersome or unintuitive, so long as it can be done on iOS 7 (which the third party SBSettings framework currently cannot), and can be done on a non-jailbroken device.

这是一个应用程序,将被加载到物理机箱中的iPad,所以电源按钮不可访问。设备本身将处于单一应用程序模式,除非通过我们的网络访问MDM解决方案,否则无法启用或禁用。我试图找到一个办法的问题是,每时每刻,网络连接停止运作,唯一的方式重新建立它是重新启动设备,这是不能做没有互联网连接,除了以物理地按压不可访问的按钮。重新引导操作将在隐藏的事件处理程序中进行密码锁定,因此无法访问普通用户。这不是一个应用程序,将看不到应用程序商店,所以苹果的用户界面指南不一定适用。

This is for an app which will be loaded into iPads in a physical enclosure so the power button is inaccessible. The device itself will be in single app mode, which cannot be enabled or disabled except through our network-accessed MDM solution. The issue I'm trying to find a way around is that every now and then, the network connection stops functioning and the only way to re-establish it is to restart the device, which can't be done without an internet connection other than to physically press the inaccessible buttons. The reboot action would be password-locked in a hidden event handler and so inaccessible to normal users. This is not an app that will ever see the app store, so Apple's user interface guidelines don't necessarily apply.

或者,有任何方法来启用/禁用辅助以编程方式或任何其他可能的方法,将启用在单一应用程序模式下重新启动设备,而无需物理接触电源按钮?

Alternatively, is there any way to enable/disable assistive touch programmatically or any other possible method that will enable rebooting the device while in single app mode without physically touching the power button?

推荐答案

这不是一个真正的答案(只是大声思考)。

This is not a real answer (just thinking aloud).

显然,你不能通过公共API。

Obviously, you can't do this through public API.

我相信,像SBReset这样的API也不能做到这一点,因为它们受到权利的保护。

I believe, API's like SBReset can't do this either, because they are protected by entitlement.

我相信你最简单的选择找到一个相当低的水平API会崩溃并使用它来崩溃设备。

I believe your simplest option to find some reasonably low level API which crashes and use it to crash a device.

我以前有一个完全相同的问题:

I had exactly the same question some time ago:A way to reboot iOS device or restart Springboard using private API?

PS我没有办法找到这些崩溃。我会建议跟越狱社区(人们提出了越狱的iOS设备)。他们收集各种崩溃。大多数这些崩溃是不可利用的。但是,你不需要一个漏洞,你只需要一个操作系统崩溃。

P.S. I don't have a way to find these crashes. I would recommnd to talk to jailbreak community (people who come up with jailbreaks for iOS devices). They collect all kinds of crashes. Most of these crashes aren't exploitable. However, you don't need an exploit, you just need a OS crash.

这篇关于通过编程重新启动iOS设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 05:18