CLGeocoder.ReverseGeocodeLocation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- completionHandler
- CLGeocodeCompletionHandler
- 属性