Cloud Five Push for iOS
[](https://travis-ci.org/Brian Samson/cloudfivepush)
使用方法
在应用程序初始化后(例如在 applicationDidLaunch
中),简单调用 register
//Register this device for push notifications
[CloudFivePush register];
// If you wish to send targeted notifications to specific users, simply pass in a
// unique user identifier:
[CloudFivePush registerWithUserIdentifier: @"[email protected]"];
高级用法
即将推出。
需求
-
iOS版本必须至少为7
-
您需要一个Cloud Five(链接:http://push.cloudfiveapp.com)上的账户,以便向设备发送推送通知。
安装
CloudFivePush可通过CocoaPods获取。要安装,只需将以下行添加到Podfile中:
pod "CloudFivePush"
作者
布ライアン·塞姆森,@samsonasu
许可证
CloudFivePush遵守MIT许可证。更多信息请参阅LICENSE文件。