I want to test add local notification. I want it repeat daily/hourly. How can I do that?
NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar];
/
If you want to set the Notifications at a particular time on daily ... .then you need to set the notification repeatInterval property.iOS handles of it;s own about the notification.Just add this single line ...which you missed out. Otherwise you code is fine & will work.
notif.repeatInterval = NSDayCalendarUnit;