4
아이폰 OS 대화 메시지에 사라지고 0.5 초 후 사라집니다 :이 관련된 경우 나도 몰라위치 권한 대화 상자가 표시 즉시
let locationManager = CLLocationManager()
switch CLLocationManager.authorizationStatus() {
case .authorizedWhenInUse:
print("In Use \(locationManager.location?.description)")
case .denied, .restricted:
print("denied")
case .notDetermined:
locationManager.requestWhenInUseAuthorization()
case .authorizedAlways:
print("always \(locationManager.location)")
}
,하지만 난 SWReavealViewController을 사용하고 있습니다. 아이폰 OS 8.0에 대해 컴파일 Xcode9, 시뮬레이터와 실제 장치 모두
이 코드는 어디에 실행됩니까? – RaffAl
다른 곳에서 시도했습니다. – gutte