如何在启动时启动 iOS 应用程序?
我正在开展一个项目,其中 iPad 将用于特定目的,并且仅运行一个应用程序。当设备启动时,我希望我的应用程序运行,并且我想覆盖主页按钮,以便它不会退出应用程序(如商店中的 iPhone/iPod 演示)。
我已经看到了此功能的一些细节,但不确定如何实现它。我意识到它必须在越狱的设备上,并且客户对此表示同意。
有什么想法吗?
谢谢!
Thomas
编辑 1:我找到了 这个网站,它解释了一些 iOS 守护进程。我仍在研究,所以我会继续发布我发现的内容。
编辑 2:我找到了 Saurik 的 IRC 频道并在那里询问。一位参与者告诉我这是可能的,但可能不像我想象的那么简单。我现在仍在 iPhone 3G 文件系统中进行一些挖掘,只是为了了解某些功能的作用。
该项目已被废弃,但我仍在寻求帮助......只是因为我感兴趣哈哈。
I am working on a project where the iPad will be used for a specific purpose, and only run one app. When the device starts up, I want my app to run, and I want to override the home button so that it does not quit the app (like the iPhone/ iPod demos in the store).
I have seen bits and pieces of this functionality, but am unsure how to implement it. I realize that it would have to be on a jailbroken device, and the client is fine with that.
Any ideas?
Thanks!
Thomas
Edit 1: I found this site, which explains some iOS daemons. I'm still researching, so I'll just keep posting what I find.
Edit 2: I found Saurik's IRC channel and asked around in there. One of the participants told me that it is possible, but probably not as simple as I thought. I am still doing some digging around in the iPhone 3G filesystem now just to get the feel of what certain things do.
The project has been scrapped, but I'm still looking for help on this though....just cuz I'm interested lol.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是我的进展的问题。问题仍未完全得到解答,但我正在取得一些进展:-)
我已经研究越狱和 iOS 文件系统。这对我对这个问题的理解有所帮助。
Here's my progress on the issue. Question's still not completely answered, but I'm making some headway :-)
I've been researching Jailbreak and the iOS filesystem as well. That has helped my understanding of the issue some.
如果没有越狱,这是不可能的。
Without jailbreaking this would not be possible.
/etc 中必须有一些东西贯穿所有启动的东西,就像在 Linux 上一样。
碰巧我现在的ipod touch在我手动删除了一些mp3文件后出现了WALD屏幕。一些反 mp3 模拟代码对其进行监管,并且不喜欢我触摸 mp3 文件结构......否则我现在就去找你。
您知道如何通过 ssh 登录您的 iPod/iPhone 吗?
There has to be something in /etc somewhere that runs through all the things that start up, just like on Linux.
It so happens that my current ipod touch has a WALD screen after me manually deleting a few mp3 files. Some anti mp3 mocking code policing it, and not liking me touching the mp3 file structures... otherwise I'd look for you right now.
Do you know how to ssh into your ipod/iphone?
嗯,我相信苹果自己在苹果商店运行的 iPad 上使用了这个(那些显示产品动画的地方,你可以要求与蓝色衬衫交谈)。
我会在官方 IPCU(iPhone 配置实用程序)上查找一些内容,以检查是否有在启动时自动加载应用程序的选项。
如果没有,请尝试与 Apple Store 商店的工作人员交朋友,并获取一些有关他们如何在这些 iPad 上运行应用程序的提示。
Well, I believe Apple itself uses this on the iPads running at the Apple Stores (those showing animations about the products where you can ask to talk with a blue shirt).
I would look for something on the official IPCU (iPhone Configuration Utility) to check if there is an option for auto-loading apps on boot time.
If not, try to get friends with someone working on an Apple Store and get some hints on how they run their app on those iPads.
您可以在信息plist中添加“voip”键。
这是苹果公司支持的:
您还可以查看此示例项目:
https://github.com/lithium3141/BootLaunch
PB。
you can add the "voip" key in the information plist.
This is backed up by Apple:
You can also see this sample project:
https://github.com/lithium3141/BootLaunch
PB.