检查应用是否使用私有框架进行了通知? [英] Check if app has a notfication using private frameworks?
问题描述
我正在编写针对越狱设备的mobilesubstrate调整,如果定义的应用程序使用 libstatusbar
I'm writing a mobilesubstrate tweak for jailbroken devices that displays an icon in the statusbar if a defined app has a notification using libstatusbar
我无法找到iOS为每个应用保留此通知信息的位置。任何人都可以指出我正确的方向/框架吗?
I'm having trouble locating where iOS keeps this notification info for each app. Could anyone point me in the right direction/framework?
我不打算将此提交给Apple,再次是针对越狱设备。
I don't intend on submitting this to Apple, again it's for jailbroken devices.
非常感谢。
推荐答案
我相信有两个通知看起来很相似,但内部通过不同的执行路线:本地通知和远程推送通知。
I believe there are two notifications which looks similar, but internally goes through different execution routes: local notification and remote push notifications.
我没有确切的答案。一些想法,方向,我会寻找:
I don't have exact answer. Couple of ideas, direction, where I would look for:
私人框架中的API SpringboardServices
API's in private framework SpringboardServices
- 目标C SBSPushStore类
- 一堆C API的SBSPush *
有 ApplePushService 私有框架。我相信它提供了一个通过其接收远程通知的连接。
There is ApplePushService private framework. I believe it provides a connection through which remote notifications are received.
此外,还有 BulletinBoardService 。我相信这个与显示通知列表有关。我猜,它可能存储通知。
Also, there is a BulletinBoardService. I believe this one is related to showing the list of notifications. My guess, that it may store notifications.
这篇关于检查应用是否使用私有框架进行了通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!