2014-10-31 56 views

回答

2

您只能添加使用位置的原因,您無法自行更改警報。

添加以下內容:

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

的iOS 8之前,它採用NSLocationUsageDescription,iOS 8的使用它的位置時,當你的應用程序被激活使用NSLocationAlwaysUsageDescription爲始終使用位置和NSLocationWhenInUseUsageDescription

相關問題