駁回問題資訊如下:
Guideline 5.1.5 - Legal - Privacy - Location ServicesYour app uses location services but does not clarify the purpose of its use in the location modal alert. Apps that collect, transmit, or use location data must notify and obtain the user’s consent prior to accessing this data.Please see attached screenshots for details.Next StepsTo resolve this issue, please specify why the app is requesting the user's location in the location permission modal alert.ResourcesFor additional information and instructions on configuring and presenting an alert, please review the Requesting Permission section of the iOS Human Interface Guidelines and the Information Property List Key Reference. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.Screenshot-0122-104738.png
查閱多方資料後:主要原因為,請為你為啥使用定位服務的彈出警示框進行相關說明。
第一次處理方式為,添加NSLocationWhenInUseUsageDescription 描述為允許訪問;
第二次為英文描述;
第三次修改為:App需要您的同意,才能訪問位置(目前還在待審核中,不知是否通過)
【備忘:使用定位服務的相關描述說明】
NSLocationAlwaysUsageDescription //後台定位耗電 App需要您的同意,才能始終訪問位置
NSLocationUsageDescription App需要您的同意,才能訪問位置
NSLocationWhenInUseUsageDescription App需要您的同意,才能在使用期間訪問位置 第一個能不能就不用吧,如果想用定位 下面兩個是一定要配置的 作者:天黑qqz 連結:https://www.jianshu.com/p/e357dadd92e3 來源:簡書 著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。 以下為參考網址:
https://www.jianshu.com/p/e357dadd92e3
http://blog.csdn.net/yangxlan/article/details/54023151 (info.plist檔案裡面添加描述)