Updating Location Services iOS8

2730
1
Jump to solution
10-01-2014 09:09 AM
TylerWarhurst
New Contributor

I am testing the GPS iOS sample provided in the tutorials (arcgis-runtime-samples-ios/GpsSample at master · Esri/arcgis-runtime-samples-ios · GitHub ) and realize that it no longer works with iOS8. I am a bit of a beginner when it comes to this stuff and cant quite figure out how to bring the sample up to speed. I edited the info.plist file by adding

 

<key>NSLocationWhenInUseUsageDescription</key> <string>This application uses your location to determine your location on the map.</string> <key>NSLocationAlwaysUsageDescription</key> <string>his application uses your location to determine your location on the map.</string>

 

However, I am unsure where, or how, to go about calling requestAlwaysAuthorization on the CLLocationManager.

 

Any help would be appreciated.

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
TylerWarhurst
New Contributor
0 Kudos
1 Reply
TylerWarhurst
New Contributor

I found some helpful info here: Core Location Manager Changes in iOS 8 - nevan.net . Problem solved.

0 Kudos