Push Notifications in Mavericks iOS Simulator

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

    iOS 8 and Xcode 6 did indeed add some additional integration to push notifications. If you select the iPhone 6 or iPhone 6 Plus simulator your app will now appear under Settings with a full featured notifications settings screen (see attached) and will show the in app modal when requesting push notification permissions for the first time. This is only true for the iPhone 6 and iPhone 6 Plus simulators.

    Screenshot 2

    However, in iOS 8 you will still get message in console as 'remote notifications are not supported in the simulator' and hence you have to use device only.

提交回复
热议问题