I need to set a UILocatNotification to fire everyday at 开发者_开发技巧9 am. Any help would be appreciated.
[formatter setDateFormat:[NSDateFormatter dateFormatFromTemplate:@"yyyy-MM-dd HH:mm:ss"
options:0
locale:nil]];
[formatter setTimeZone:[NSTimeZone localTimeZone]];
notification.fireDate = [formatter dateFromString:@"2010-10-21 09:00:00"];
notification.repeatInterval = NSDayCalendarUnit;
精彩评论