Edit

Share via


CLLocationManager.RequestWhenInUseAuthorization Method

Definition

Displays an interface to the user that requests authorization to use location services any time that the app is in the foreground.

[Foundation.Export("requestWhenInUseAuthorization")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestWhenInUseAuthorization ();
abstract member RequestWhenInUseAuthorization : unit -> unit
override this.RequestWhenInUseAuthorization : unit -> unit
Attributes

Applies to