NSUserNotification not showing action button

前端 未结 4 1389
梦毁少年i
梦毁少年i 2021-01-30 16:47

I\'m using this code:

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    // Insert code here to initialize your application
    NSUserNo         


        
4条回答
  •  遇见更好的自我
    2021-01-30 17:23

    And here was the answer.

    Thanks again to #macdev on freenode.

    enter image description here

    The selection needs to be "Alerts" to have buttons.

提交回复
热议问题