Location Query in Parse TableView
问题 I have a PFQueryTableView which is supposed to gather the 10 closest store locations and display them in order of proximity. I query the tableview like so: - (PFQuery *)queryForTable { PFQuery *query = [PFQuery queryWithClassName:@"TopToday"]; query.limit = 7; CLLocation *currentLocation = locationManager.location; PFGeoPoint *userLocation = [PFGeoPoint geoPointWithLatitude:currentLocation.coordinate.latitude longitude:currentLocation.coordinate.longitude]; return query; } The above code