如何在 iOS10 中配置通知(与使用 GCM ID 的 Android 相同)?

How to configure Notification in iOS10 (same as Android using GCM ID)?

我想在 Swift 3(ios 10) 中配置通知。我想要它类似于 Android 系统,可以吗??如果没有 .pem 文件,是否可以在 ios10.?

中发送远程通知

提前致谢。

没有 .pem(Apple 开发者证书)无法发送推送通知

没有 .pem 文件。

您可以使用 Pushok 是一个简单的 PHP 库,用于向 APNs 发送推送通知。

https://github.com/edamov/pushok