简体   繁体   English

苹果在 xcode 5 模拟器中推送通知?

[英]apple push notifications in xcode 5 simulator?

In one of the WWDC sessions they said push notifications would be supported in the simulator with xcode 5. Did this actually happen?在 WWDC 会议之一中,他们说 xcode 5 模拟器将支持推送通知。这真的发生了吗? I can't see where it works.我看不到它在哪里工作。 I see iCloud support but if i try to register device in my app in simulator, it fails.我看到 iCloud 支持,但如果我尝试在模拟器中的应用程序中注册设备,它会失败。

如果没有,模拟器中就有 SimulatorRemoteNotifications 库来伪造推送通知: https : //github.com/acoomans/SimulatorRemoteNotifications

Finally, the Xcode released version 11.4 that supports push notifications:最后,Xcode 发布了支持推送通知的 11.4 版本: 在此处输入图片说明 I did not try yet, but I how it is working.我还没有尝试,但我知道它是如何工作的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM