다음을 통해 공유


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
특성

적용 대상