地区ではなく、クライアントの最近の場所の都市情報のみが必要です。回避する方法はありますか?
pm.locality
戻り値: Budapest VII. kerület
、私は のみを期待しBudapest
ます。
func locationManager(manager: CLLocationManager!, didUpdateLocations locations: [AnyObject]!) {
CLGeocoder().reverseGeocodeLocation(locations.first as CLLocation, completionHandler: {placemarks, error in
let pm = placemarks.first as CLPlacemark