面向 iOS 的 Cloud Five Push
[](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上的账号。
安装
CloudFivePush通过CocoaPods提供。要安装,只需将以下行添加到您的Podfile中
pod "CloudFivePush"
作者
布莱恩·萨姆森,@samsonasu
许可证
CloudFivePush在MIT许可证下提供。有关更多信息,请参阅LICENSE文件。