2015-07-10 38 views

回答

0

它僅針對在使用位置更新時註冊的應用程序顯示。

5

要顯示的藍條,你應該

1: enable Background Location Updates in target Capabilities . 

    Then set locationManager allowsBackgroundLocationUpdates to YES; 

2: Add NSLocationWhenInUseUsageDescription in plist file (8.0+ ask for locaiton) 
    Then call requestWhenInUseAuthorization method not requestAlwaysAuthorization method 
+0

感謝您的支持!我正在尋找一種方式來顯示它:) – pawisoon

相關問題