Push Notifications in Mavericks iOS Simulator

后端 未结 7 2119
忘了有多久
忘了有多久 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:39

    Even though iPhone 6 and iPhone 6+ simulators have setting for push notifications and even show you the push notification prompt, an attempt to register for push notifications from simulator still fails with Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo=0x7fc786b4af90 {NSLocalizedDescription=remote notifications are not supported in the simulator}. So, your best bet is still to use a device.

提交回复
热议问题