OSX Notification Center Icon

后端 未结 9 724
渐次进展
渐次进展 2020-12-03 01:42

I\'m using OSX\'s Notification Center APIs for the first time and can\'t seem to figure out how to make my app\'s icon to show up in the Notification badge.

The defa

9条回答
  •  情书的邮戳
    2020-12-03 01:46

    There's actually an ongoing debate on Apple's developer forums (link, link for people with access) about this. As far as I know, there's currently no real solution, but you can try the following:

    • Change your app's bundle ID and try it again. If you change it, clean your app, and change back, some people have reported success with seeing their icon show up.
    • Log in as another user. The caching Notification Center uses may be per-user, so you might be able to get the properly-iconned notifications as a different person.

提交回复
热议问题