检查应用是否使用私有框架进行了通知? [英] Check if app has a notfication using private frameworks?

查看:120
本文介绍了检查应用是否使用私有框架进行了通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写针对越狱设备的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屋!

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