One Logo Pool Ball
CoreLocation · IOS API REFERENCE

CLGeocoder

class · iOS 5.0+ · Deprecated in iOS 26.0 · SDK 27.1

class CLGeocoder

Members (11)

method · iOS 5.0+ · Deprecated in iOS 26.0

cancelGeocode

TypeScript
cancelGeocode(): void
Swift declaration
func cancelGeocode()
method · iOS 5.0+ · Deprecated in iOS 11.0

geocodeAddressDictionary

TypeScript
geocodeAddressDictionary(addressDictionary: NativeMap<unknown, unknown>, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodeAddressDictionary(_ addressDictionary: [AnyHashable : Any], completionHandler: @escaping @Sendable ([CLPlacemark]?, (any Error)?) -> Void)
method · iOS 5.0+ · Deprecated in iOS 26.0

geocodeAddressString

TypeScript
geocodeAddressStringCompletionHandler(addressString: string, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodeAddressString(_ addressString: String) async throws -> [CLPlacemark]
method · iOS 5.0+ · Deprecated in iOS 26.0

geocodeAddressString

TypeScript
geocodeAddressStringInCompletionHandler(addressString: string, region: (CLRegion) | null, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodeAddressString(_ addressString: String, in region: CLRegion?) async throws -> [CLPlacemark]
method · iOS 11.0+ · Deprecated in iOS 26.0

geocodeAddressString

TypeScript
geocodeAddressStringInPreferredLocaleCompletionHandler(addressString: string, region: (CLRegion) | null, locale: (_Foundation_Locale) | null, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodeAddressString(_ addressString: String, in region: CLRegion?, preferredLocale locale: Locale?) async throws -> [CLPlacemark]
method · iOS 11.0+ · Deprecated in iOS 26.0

geocodePostalAddress

TypeScript
geocodePostalAddressCompletionHandler(postalAddress: _Contacts_CNPostalAddress, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodePostalAddress(_ postalAddress: CNPostalAddress) async throws -> [CLPlacemark]
method · iOS 11.0+ · Deprecated in iOS 26.0

geocodePostalAddress

TypeScript
geocodePostalAddressPreferredLocaleCompletionHandler(postalAddress: _Contacts_CNPostalAddress, locale: (_Foundation_Locale) | null, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func geocodePostalAddress(_ postalAddress: CNPostalAddress, preferredLocale locale: Locale?) async throws -> [CLPlacemark]
init

init

TypeScript
static init(): CLGeocoder
Swift declaration
init()
method · iOS 5.0+ · Deprecated in iOS 26.0

reverseGeocodeLocation

TypeScript
reverseGeocodeLocationCompletionHandler(location: __LocationEssentials_CLLocation, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func reverseGeocodeLocation(_ location: CLLocation) async throws -> [CLPlacemark]
method · iOS 11.0+ · Deprecated in iOS 26.0

reverseGeocodeLocation

TypeScript
reverseGeocodeLocationPreferredLocaleCompletionHandler(location: __LocationEssentials_CLLocation, locale: (_Foundation_Locale) | null, completionHandler: ((arg0: (Array<CLPlacemark>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func reverseGeocodeLocation(_ location: CLLocation, preferredLocale locale: Locale?) async throws -> [CLPlacemark]
get · iOS 5.0+ · Deprecated in iOS 26.0

isGeocoding

TypeScript
get isGeocoding(): boolean
Swift declaration
var isGeocoding: Bool { get }

Skipped declarations

No declarations were skipped in this snapshot.

All CoreLocation types →