今早收到推送得知app被拒盔腔。
【問題詳細(xì)】
4.5 - Apps using background location services must provide a reason that clarifies the purpose of the use, using mechanisms described in the Human Interface Guidelines
4.5 Details
Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines.
We’ve attached screenshot(s) for your reference.
Next Steps
Please reconfigure the UIAlertControllerStyleAlert in your code and specify the intended purpose of using background location in its message field.
Resources
For additional information and instructions on configuring and presenting an alert, see the Accessing User Data section of the iOS Human Interface Guidelines and the UIKit Framework Reference.
并附帶截圖(應(yīng)用名稱已處理)
【處理辦法】
查詢資料后發(fā)現(xiàn)涤妒,蘋果好像在近期修改了審核規(guī)則格二,需要在獲取用戶定位的時(shí)候截粗,告知用戶為什么需要獲取用戶的位置。
所以在工程 info.plist文件里面增加?NSLocationAlwaysUsageDescription 并且要配上詳細(xì)說明文字但要簡潔达吞,告訴用戶你為什么要訪問他的位置张弛!(因人而異,根據(jù)你自己的需求制定需要提示的語言)
蘋果更新審核要求請(qǐng)參照:https://developer.apple.com/app-store/review/guidelines/#location
需要注意的事項(xiàng)參照:https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LocationServices.html
【后續(xù)】
先已重新提交app酪劫,等待審核中吞鸭。看審核結(jié)果如何再來完善文章覆糟。
已經(jīng)審核通過刻剥。