效果: 相当于微信,QQ 目前热门app 通知效果,即使客户
app退出,关闭,锁屏等特殊情况下,都能收到我们向手机发送的通知,并且通过这个通知能触发一些自己自定义的事件.所以实战灵活性很强
特别提示:这个属于开发实战案例
项目准备:
1 苹果手机
2 苹果开发者账户 [就是已经付过100元可发布APP的账户]
进入钥匙串,创建本机匹配文件

Paste_Image.png

Paste_Image.png

Paste_Image.png
继续后得到一个本机request文件

Paste_Image.png
登录到苹果账户里,然后配置证书

Paste_Image.png

Paste_Image.png

Paste_Image.png
上面 第2步 和 第3步 都是要用之前生成的本机Request文件,找到他提交上来就好

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png
![Uploading Paste_Image_739281.png . . .]

Paste_Image.png
下面到本机操作

Paste_Image.png
Xcode 软件上面操作

Paste_Image.png

Paste_Image.png

Paste_Image.png

Paste_Image.png
取到手机令牌

Paste_Image.png

Paste_Image.png

Paste_Image.png
网友评论