开发者

iPhone notify_post notifications

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜