CLGeocoder.ReverseGeocodeLocation 方法

定义

重载

ReverseGeocodeLocation(CLLocation, CLGeocodeCompletionHandler)

请求人类地址的经度/纬度。

ReverseGeocodeLocation(CLLocation, NSLocale, CLGeocodeCompletionHandler)

ReverseGeocodeLocation(CLLocation, CLGeocodeCompletionHandler)

请求人类地址的经度/纬度。

[Foundation.Export("reverseGeocodeLocation:completionHandler:")]
public virtual void ReverseGeocodeLocation (CoreLocation.CLLocation location, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member ReverseGeocodeLocation : CoreLocation.CLLocation * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.ReverseGeocodeLocation : CoreLocation.CLLocation * CoreLocation.CLGeocodeCompletionHandler -> unit

参数

location
CLLocation

要查找的位置。

completionHandler
CLGeocodeCompletionHandler

反向查找完成时调用的方法。

属性

适用于

ReverseGeocodeLocation(CLLocation, NSLocale, CLGeocodeCompletionHandler)

[Foundation.Export("reverseGeocodeLocation:preferredLocale:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ReverseGeocodeLocation (CoreLocation.CLLocation location, Foundation.NSLocale locale, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member ReverseGeocodeLocation : CoreLocation.CLLocation * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.ReverseGeocodeLocation : CoreLocation.CLLocation * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit

参数

location
CLLocation
locale
NSLocale

内容待定。

此参数可以为 null

completionHandler
CLGeocodeCompletionHandler
属性

适用于