You can set the UILocalNotification's repeatInterval
to NSCalendarUnitWeekday
if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) {
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge|UIUserNotificationTypeSound|UIUserNotificationTypeAlert categories:nil];
[[UIApplication sharedApplication] registerUserNotificationSettings:settings];
} else {
UIRemoteNotificationType myTypes = UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound;
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:myTypes];
}
UILocalNotification *notification=[[UILocalNotification alloc] init];
NSDate *currentDate = [NSDate date];
notification.fireDate = [currentDate dateByAddingTimeInterval:10.0];
notification.repeatInterval = NSCalendarUnitWeekday;
notification.alertBody = @"Wake up, man";
notification.soundName= UILocalNotificationDefaultSoundName;
notification.applicationIconBadgeNumber++;
[[UIApplication sharedApplication] scheduleLocalNotification:notification];