Start an app on boot up on an iPad which has been jailbroken. (iOS)

微笑、不失礼 提交于 2019-12-12 04:18:25

问题


Is it possible to start an app on boot up on an iPad which has been jailbroken.

I have managed to use the app Activator to start an app, but only works when the power cable is in.


回答1:


Install ssh on your jailbroken iPad (through Cydia), then ssh in and write a boot script.

Next write a launchd style plist config file and add the file to /Library/LaunchDaemons.

Finally, load the file using launchctlload /Library/LaunchDaemons/myplistFile.plist

This hinges on having launchd on your iPad, which I'm pretty sure is part of the boot sequence on iOS devices.



来源:https://stackoverflow.com/questions/9832290/start-an-app-on-boot-up-on-an-ipad-which-has-been-jailbroken-ios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!