我想提醒每個通知來自於Web服務在不同任務的應用程序。爲此,我使用了以下方法。 但我沒有得到推notific推送通知問題
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
{
}
- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err {
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
}
可能重複的[在iPhone應用推送通知。](http://stackoverflow.com/questions/2558645/push-notification-in-iphone-application) – 2011-05-26 11:22:19