UILocalNotification with various alert body
问题 How Can I repeat UILocalNotification with various alert body? For example: UILocalNotification *notif = [[UILocalNotification alloc] init]; notif.alertBody = @"Hello"; notif.repeatInterval = NSDayCalendarUnit; [[UIApplication sharedApplication] scheduleLocalNotification:notif]; By using this code the notification will be repeated daily, how can I repeat the notification daily with different alert body each day? Thanks. 回答1: You could implement the application:didReceiveLocalNotification