CoreLocation: CLClient is deprecated. It will be obsolete soon. In iPhone

I use the main location in my application to get the location of the user when the application is launched first, and then against the background of the background. After location

NSString *mylatitude = [[NSNumber numberWithDouble:location.coordinate.latitude] description];

I stop the service as:

[locationController.locationManager stopUpdatingLocation];

[locationController.locationManager stopMonitoringSignificantLocationChanges]; 

I use the delegate class to get the location whose object is the locationController. Then again, returning from the background, I start the service again

[locationController.locationManager startUpdatingLocation];

everything works fine both in the simulator and on the device. But in the device log I saw one strange message like

CoreLocation: CLClient is deprecated. Will be obsolete soon.

I am completely confused when he goes and why? Can someone help me on this?

+4
source share
1

. . CoreLocation . . , , , GPS- , , .

+2

All Articles