Use Current Location Service in Map
Location Service Authorization
1. Set info.plist
For iOS SDK 8.0 and later, we need to set NSLocationWhenInUseUsageDescription
and ‘NSLocationAlwaysUsageDescription’ in info.plist file. A sample case is:
1 2 3 4 |
|
The string
will appear in the popup dialog. You can leave it as empty, and only the system message will appear in the popup.