What can we use instead of nstimer?
问题 I can get the GPS location in the background using [locationManager startUpdatingLocation] , but I don't know how to schedule it. I have used NSTimer for scheduling but many of them are saying that NSTimer will get expire if the application enters background. I want to know how to schedule calling the method , if we are not using NSTimers. 回答1: Apple provides 5 kinds of app task to run in background: Apps that play audible content to the user while in the background, such as a music player