【问题标题】:Apple Push Notification Service which ios version it is supported from?Apple Push Notification Service 支持哪个 ios 版本?
【发布时间】:2014-07-11 08:09:44
【问题描述】:

我不确定在哪里可以找到哪个 ios 版本开始支持 Apple 推送通知服务?还是没关系?

【问题讨论】:

标签: ios ios5 ios4 ios6


【解决方案1】:

不管怎样,UIRemoteNotificationTypeAlert 等各种相关符号出现在 iOS 3 中。换句话说,支持太老了,今天并不重要。

【讨论】:

    【解决方案2】:

    Apple Push Notification Service 是 Apple Inc. 与 iOS 3.0 一起推出的一项服务

    Refer Apple Doc

    请参考此链接: http://en.wikipedia.org/wiki/Apple_Push_Notification_Service

    【讨论】:

      【解决方案3】:

      针对不同的用例有不同的版本。例如,如果您想要自定义通知,则应使用通知扩展。

      - UNNotificationContentExtension

      • iOS 10.0+

      - UNNotificationServiceExtension

      • iOS 10.0+
      • macOS 10.14+

      如果你想要一个简单的默认通知,你只需要一个简单的代码实现而不需要导入任何东西。

      - Apple 推送通知服务(又名“APS”和“APNS”)

      • iOS 3.0+

      【讨论】:

        猜你喜欢
        • 2017-07-09
        • 1970-01-01
        • 2013-01-02
        • 2013-01-14
        • 2011-01-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-01-27
        相关资源
        最近更新 更多