2012-02-28 71 views

回答

1

在您的UIApplicationDelegate.didFinishLaunchingWithOptionsUIApplicationDelegate.didReceiveRemoteNotification中使用[UIApplication sharedApplication].applicationIconBadgeNumber = 0;

如果您需要從服務器重置應用程序圖標徽章號碼,請在APN消息中將badge值設置爲0。