AppStore審核被拒理由:
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 theiOSHuman Interface Guidelines.
We’ve attached screenshot(s) for your reference.
Next Steps
Please reconfigure theUIAlertControllerStyleAlertin your code and specify the intended purpose of using background location in its message field.
解決辦法:
在info.plist文件中在參數(shù)NSLocationAlawaysUsageDescription或者NSLocationAlwaysUsageDescription中添加簡(jiǎn)略原因---> 告訴用戶你為什么要訪問(wèn)他的位置覆获!