简体   繁体   English

如何在iOS 3.0中使用本地推送通知?

[英]How can I use local push notifications in iOS 3.0?

I want to use local push notification in iOS 3.0. 我想在iOS 3.0中使用本地推送通知。 Is there a way to do this? 有没有办法做到这一点?

No, local push notifications are an iOS 4 feature. 否,本地推送通知是iOS 4的功能。 Sorry. 抱歉。

Update: You could implement some of the local push notification features by using remote notifications. 更新:您可以通过使用远程通知来实现某些本地推送通知功能。 You would have to implement a service on a server that mimics the local push notification feature set. 您必须在模仿本地推送通知功能集的服务器上实现服务。 Have a look at urbanairship.com , they have services that allow you to schedule notifications for later delivery. 看看urbanairship.com ,他们提供的服务可让您安排通知以备日后交货。 This would mimic some of the local push notification features. 这将模仿某些本地推送通知功能。

Push notification are your only option. 推送通知是您唯一的选择。

They requires a network connection, a server of your own and are way more complicated to implement then local notification but are the only way to go in iOS 3. 它们需要网络连接,自己的服务器,并且实现起来比本地通知要复杂得多,但这是iOS 3中唯一的方法。

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

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