I'd like to run an app in the KIOSK mode, so that it
- auto-starts after starting the device
- re-starts after app crash/power loss/etc.
Any ideas how to do this on a [probably jailbroken?] iPhone?
I'd like to run an app in the KIOSK mode, so that it
Any ideas how to do this on a [probably jailbroken?] iPhone?
The easiest method would be to create a mobilesubstrate extension that runs inside SpringBoard and throws up its own UIWindow
.
Create a static __attribute__((constructor))
function and inside register for UIApplicationDidFinishLaunchingNotification
. After receiving the notification, 99% of the standard iPhone SDK will work as-is.
It will have to be jailbroken because the standard OS won't give you that level of control.
Since you are already thinking jailbreak, perhaps look into launchd on the phone as whatever starts up Springboard could also probably be made to start up your app after.