xcode 如何使用苹果推送通知?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5496123/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:51:45  来源:igfitidea点击:

How to Use Apple Push Notification?

xcodessl-certificatepush-notificationapple-push-notifications

提问by Anand

I am completed my App but i want to add push notification into my application, i installed the SSL certificate and also build the app and get the ipa file... But i have a doubt that is how the apple pushes the Notification to My Device? How to change the Alert Message from Apple? Where the code written to Customize our Push Notification message? Is it Client side Or server side..?

我完成了我的应用程序,但我想在我的应用程序中添加推送通知,我安装了 SSL 证书并构建了应用程序并获取了 ipa 文件......但我怀疑苹果是如何将通知推送到我的设备的? 如何更改来自 Apple 的警报消息?在哪里编写自定义我们的推送通知消息的代码?是客户端还是服务器端..?

回答by Antwan van Houdt

I suggest reading this carefully first and when you run into problems you ask them here. Push Notifications programming guide

我建议您先仔细阅读本文,当您遇到问题时,请在此处询问他们。 推送通知编程指南

You need a push notification server in order to be able to send push notes to your application. Push notification server tutorial

您需要一个推送通知服务器才能向您的应用程序发送推送通知。推送通知服务器教程