嘗試使用APN將通知推送到我的iPhone時遇到一些故障。我用我一直在互聯網上看到遍地一個PHP代碼,所以我不認爲這個問題是關於它: <?php
// Put your device token here (without spaces):
$deviceToken = 'mytoken'; // Of course this is my correct token here
// Pu
import UIKit
import UserNotifications
class SLPushNotificationManager: NSObject, UIApplicationDelegate {
class var currentManager : SLPushNotificationManager {
struct Static {
st