Push Notifications in Mavericks iOS Simulator

后端 未结 7 2088
忘了有多久
忘了有多久 2020-11-28 08:08

I can\'t find anything about this, and I have never done anything with push notifications (but I know vaguely how they work). In Mavericks, now that OS X can receive push no

相关标签:
7条回答
  • 2020-11-28 08:55

    Looking forward to using remote notifications in the simulator when iOS 10 comes out.

    In the meantime I use the Xcode command line to test notification behavior:

    p [((CustomAppDelegateClass *)((UIApplication *)[UIApplication sharedApplication]).delegate) application:[UIApplication sharedApplication] didReceiveRemoteNotification:@{@"aps": @{@"alert": @"Alert Message"}, @"info": @{@"object": @"value"}}];
    
    0 讨论(0)
提交回复
热议问题