Calling A Method At Specific Time Every Day
问题 My app runs constantly in kiosk mode. Once every 24 hours at a specific time I need to sync some data from core data to a web service. I know how to do the sync piece but I don't know how to schedule the app to make the sync call at a specific time each day e.g. at 02:45 am. Is it possible to do something like this when an app is running constantly? 回答1: Use Local Notifications. Here is a tutorial:http://www.icodeblog.com/2010/07/29/iphone-programming-tutorial-local-notifications/ Hope this