阅读背景:

UILocalNotification中的警报未被调用

来源:互联网 

AppDelegate.m

AppDelegate.m

- (void)applicationWillEnterForeground:(UIApplication *)application
{

application.applicationIconBadgeNumber = 0;
}

-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
{
application.applicationIconBadgeNumber = 0;
NSString *reminderText = [notification.userInfo objectForKey:kRemindMeNotificationDataKey];
[self.settings showReminderAlert:reminderText];
NSLog(@"Application REcieved Local Notification");
}
- (void)applica



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: