重启后重新连接外设 - Objective-C

Reconnect peripheral after reboot - Objective-C

所以我想做的是在连接到外围设备后,重新启动我的 iPhone,但从不关闭应用程序。当 phone 重新启动时,我希望外围设备重新连接我的应用程序而不将应用程序返回前台。

这可能吗?

如果 phone 没有 GuidedAccess 或越狱,您无法在 phone 启动时 运行 应用程序。您需要这样做才能将您的应用程序重新连接到外围设备。

参见:Make iOS application run at startup