如何使用后台程序SpringBoardHooks?
我很想使用这些挂钩越狱 iPhone 应用程序。如果安装了后台程序,这将允许应用程序请求后台运行。看到之前在 StackOverflow 上提出的问题,我想我不是唯一可以使用此功能的人。
需要哪些步骤?我是否需要提取私有 SpringBoard api,或者我什至需要遵循程序< /a> 用于编译 MobileSubstrate 插件?
我更喜欢创建一个最小的头文件,允许我将此消息发送到后台程序,但我基本上不知道如何进行此操作。非常欢迎提出建议!
I would love to use these hooks for a jailbreak iPhone app. This would allow the app to request to be backgrounded, providing that Backgrounder is installed. Seeing previous questions on StackOverflow, I think I'm not the only one who could use this.
What are the steps required? Do I need to extract the private SpringBoard api's, or do I even need to follow procedures for compiling MobileSubstrate pluginss?
I would prefer creating a minimal header file that allows me to send this message to Backgrounder, but I have basically no idea how to go about this. Suggestions are very welcome!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Backgrounder 使用 MobileSubstrate 来挂钩 SprindBoard 和 UIApplication 上的一些函数,iOS 4.2 的问题(我没有 4.1 版本来尝试)是你可以忽略 applicationSuspend 事件,但 10 秒后 springboard 将杀死你的应用程序。
我一直在寻找你所问的同样的事情,直到现在我知道:
- 我可以像Backgrounder一样使用MobileSubstrate来挂钩SpringBoard的功能
或者
- 必须有一种方法告诉 Springboard 你的应用程序就像 Safari 或者它正在被调试。
我只需要找到让 MobileSafari 与众不同的东西。但如果你想尝试使用 MobileSubstrate,你可以在 github 上查看背景信息:
http://modmyi.com/forums/iphone-ipod-touch-sdk-development-discussion/728944-tutorial-how-compile-mobile-substrate -扩展-xcode.html
Backgrounder uses MobileSubstrate to hook some functions on SprindBoard and UIApplication, the problem with iOS 4.2 (I don't have a 4.1 version to try it) is that you can ignore the applicationSuspend event but after 10 secs springboard will kill your application.
I've been looking for the same thing you're asking and until now I know:
- I can use MobileSubstrate to hook SpringBoard's functions like Backgrounder does
OR
- There must be a way to tell Springboard your app is like Safari or it's being debugged.
I just need to find that thing that makes MobileSafari different. But if you want try using MobileSubstrate, you can check backgrounder on github and:
http://modmyi.com/forums/iphone-ipod-touch-sdk-development-discussion/728944-tutorial-how-compile-mobile-substrate-extension-xcode.html