3 如何驗證是否已與我的apns提供商建立了與蘋果推送通知服務的成功連接。我正在將設備令牌發送給服務器,我無法將其發送到我的設備。蘋果推送通知服務器 來源 2010-11-06 dani +0 使用委託方法: - (無效)應用:(UIApplication的*)應用 didRegisterForRemoteNotificationsWithDeviceToken:(NSData的*)令牌 { 的NSLog(@「註冊成功,軟件包標識符:%@,模式:%@,設備token:%@「, [NSBundle.mainBundle bundleIdentifier],[self modeString],token); } – 2015-09-16 11:38:23
使用委託方法: - (無效)應用:(UIApplication的*)應用 didRegisterForRemoteNotificationsWithDeviceToken:(NSData的*)令牌 { 的NSLog(@「註冊成功,軟件包標識符:%@,模式:%@,設備token:%@「, [NSBundle.mainBundle bundleIdentifier],[self modeString],token); } – 2015-09-16 11:38:23