iPhone: How to set repeat daily/hourly local notification?

前端 未结 4 877
眼角桃花
眼角桃花 2020-12-16 08:45

I want to test add local notification. I want it repeat daily/hourly. How can I do that?

NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar];

 /         


        
4条回答
  •  遥遥无期
    2020-12-16 08:53

    Check out this tutorial: http://useyourloaf.com/blog/2010/9/13/repeating-an-ios-local-notification.html

提交回复
热议问题