I am new to iPhone programming. I am looking for an example or a demo on how to use startMonitoringSignificantLocationChanges
method with the CoreLocation
Manager.
I am confused by the documentation because, I am not sure if the same delegate method is called as in the case of invoking startUpdatingLocation
. (i.e. the delegate locationManager: (CLLocationManager *)manager didUpdateToLocation: (CLLocation *)newLocation fromLocation: (CLLocation *)oldLocation
is called)
Any help on this would be appreciated. Also, I am testing it on the simulator by subclassing of CLLocationManager
. This subclass provides a simulation of location services when running on the iPhone Simulator. Is there a better way to test this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…