1
나는 내 자신으로 사용자 위치에 액세스 할 수있는 권한을 요청하는 표준 경고를 교체해야합니다. 가능한가?시스템 경고를 사용자 정의하는 방법이 있습니까?
또는 시스템 경고를 사용자 정의하는 방법이 있습니까?
고맙습니다. ;)
나는 내 자신으로 사용자 위치에 액세스 할 수있는 권한을 요청하는 표준 경고를 교체해야합니다. 가능한가?시스템 경고를 사용자 정의하는 방법이 있습니까?
또는 시스템 경고를 사용자 정의하는 방법이 있습니까?
고맙습니다. ;)
위치 사용의 이유 만 추가 할 수 있으며 사용자가 직접 경고를 변경할 수는 없습니다.
는 다음을 추가 :
이<key>NSLocationAlwaysUsageDescription</key>
<string>We need to determine your location, to check where you are on a route.</string>
<key>NSLocationUsageDescription</key>
<string>We need to determine your location, to check where you are on a route.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>We need to determine your location, to check where you are on a route.</string>
아이폰 OS 8 이전이 NSLocationUsageDescription
사용하면 앱 활성화되어있을 때 위치를 사용하는 경우 아이폰 OS (8)가 항상 사용하는 위치 NSLocationAlwaysUsageDescription
및 NSLocationWhenInUseUsageDescription
를 사용합니다.