난 당신이 청구서 매월 알림을 설정할 수 있습니다 응용 프로그램을 개발하고는,매월 반복 알림 IOS
나는 datepicckers API를 통해 보았다 그리고 매달 반복하는 방법을 찾을 수 없습니다 . 어떻게이 작업을 수행 할 수 있습니까?
난 당신이 청구서 매월 알림을 설정할 수 있습니다 응용 프로그램을 개발하고는,매월 반복 알림 IOS
나는 datepicckers API를 통해 보았다 그리고 매달 반복하는 방법을 찾을 수 없습니다 . 어떻게이 작업을 수행 할 수 있습니까?
에 코드를 참조하십시오 사용해야합니다. 자세한 내용은 UILocalNotification Class Reference
UILocalNotification *localNotification = [[[UILocalNotification alloc] init] autorelease];
localNotification.fireDate = date; //The date and time when the system should deliver the notification.
localNotification.timeZone = [NSTimeZone defaultTimeZone];
localNotification.alertBody = alertBody;
localNotification.alertAction = @"View";
localNotification.repeatCalendar = [NSCalendar currentCalendar];
localNotification.repeatInterval = NSMonthCalendarUnit;
localNotification.soundName = UILocalNotificationDefaultSoundName;
localNotification.applicationIconBadgeNumber = 1;
[[UIApplication sharedApplication] scheduleLocalNotification:localNotification];
당신은 UILocalNotification API를
이 당신의 필요에 따라 Custamize http://www.icodeblog.com/2010/07/29/iphone-programming-tutorial-local-notifications/
확인이 링크를 참조 해주십시오 http://reecon.wordpress.com/2010/11/12/setting-a-reminder-using-uilocalnotification-in-ios-4-objective-c/ – riti