How to set CoreLocation accuracy in OF (iOS)

I’m wondering how I can set the desiredAccuracy property of CoreLocation to kCLLocationAccuracyBest within OF (I’m working with the OF CoreLocationExample for iOS).



You will have to edit and add it manually to the delegate object. eg. in the init() after delegate…

locationManager = [[CLLocationManager alloc] init];
locationManager.delegate = self;
locationManager.desiredAccuracy = kCLLocationAccuracyBest;

Might be handy to add a function for this in the OF api, to make changing this easier. Would be worth submitting something like this to the OF repo.

Thanks, Trent - very helpful.