I have an array of CLLocation objects. If I use
CLLocation *bestLocation = [locations valueForKeyPath:@"@min.horizontalAccuracy"];
I'm getting the lowest horizontalAccuracy value. But I want the OBJECT that contains the lowest value, so that I can later get it's proper coodinates. How can I do that?
I also tried with
CLLocation *bestLocation = [locations valueForKeyPath:@"@min.self.horizontalAccuracy"];
but got the same results.
Thanks