I\'m trying to use the CLLocationManager framework in my iOS project to access the user\'s location but when I call
CLLocationManager
[locationManager startUpdat
With iOS 8.0 you need to call -[CLLocationManager requestWhenInUseAuthorization ] or -[CLLocationManager requestAlwaysAuthorization] first so the user gets asked to give your app permission to use the location.
-[CLLocationManager requestWhenInUseAuthorization ]
-[CLLocationManager requestAlwaysAuthorization]