开发者

iPhone notify_post notifications

开发者 https://www.devze.com 2023-01-20 17:13 出处:网络
How can I find out what notifications the iPhone has registered? for instance: notify_post(\"com.apple.spring开发者_运维问答board/Prefs\");

How can I find out what notifications the iPhone has registered?

for instance:

notify_post("com.apple.spring开发者_运维问答board/Prefs");


Although an answer has already been confirmed for this question, since @Nate seemed confused about it, I thought I'd show an easier method. notificationWatcher from Erica Utilities can be used to print a list of standard notifications as they happen. Run it from the command line like so:

notificationWatcher -st | grep -v rawOrientation

You don't need the grep bit, but it's useful to remove the many com.apple.springboard.rawOrientation notifications that appear when the device is moving around a lot.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号