CLLocationManager.LocationServicesEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether location services are available.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool LocationServicesEnabled { [Foundation.Export("locationServicesEnabled")] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("locationServicesEnabled")>]
static member LocationServicesEnabled : bool
Property Value
true if the necessary hardware exists and the user has allowed the app's request for access.
- Attributes