Share via


CLLocationManager.RequestWhenInUseAuthorization メソッド

定義

アプリがフォアグラウンドにあるときはいつでも、位置情報サービスを使用するための承認を要求するインターフェイスをユーザーに表示します。

[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
属性

適用対象