如何创建kiosk模式的iPhone应用程序? [英] How to create kiosk-mode iPhone app?

查看:201
本文介绍了如何创建kiosk模式的iPhone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在KIOSK模式下运行一个应用程序,以便它

I'd like to run an app in the KIOSK mode, so that it


  1. 启动设备后自动启动

  2. 在应用程序崩溃/断电等情况下重新启动。

任何想法如何执行此操作在一个[可能已越狱?] iPhone上?

Any ideas how to do this on a [probably jailbroken?] iPhone?

推荐答案

最简单的方法是创建一个在SpringBoard内运行的mobilesubstrate扩展并抛出自己的 UIWindow

The easiest method would be to create a mobilesubstrate extension that runs inside SpringBoard and throws up its own UIWindow.

创建 static __attribute __((构造函数))函数和内部寄存器 UIApplicationDidFinishLaunchingNotification 。收到通知后,99%的标准iPhone SDK将按原样运行。

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.

这篇关于如何创建kiosk模式的iPhone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆