NSUserNotification not showing action button

前端 未结 4 1392
梦毁少年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:14

    magic command based on PARTISAN's reply is:

    notification.set_showsButtons_(True)
    

    cha-ching :)

提交回复
热议问题