美文网首页
PushMeBaby使用

PushMeBaby使用

作者: iOS_Developer | 来源:发表于2017-07-18 10:00 被阅读27次

github 下载地址
https://github.com/stefanhafeneger/PushMeBaby

1.运行如果报错,那么导入CoreServices.framawork
替换这句 #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h> 为 #include <MacTypes.h>
2.把你的推送证书.cer 文件更改名为apns.cer,放入工程中,代码中是通过
self.certificate = [[NSBundle mainBundle] pathForResource:@"apns" ofType:@"cer”];取你的证书文件的
3.在输入框中粘贴进去你的deviceToken,注意不要带<>,空格可以有
4.可以开心的测试了~

相关文章

网友评论

      本文标题:PushMeBaby使用

      本文链接:https://www.haomeiwen.com/subject/dopckxtx.html