1. 程式人生 > >Guideline 2.5.1 - Performance - Software Requirements

Guideline 2.5.1 - Performance - Software Requirements

Guideline 2.5.1 - Performance - Software Requirements Your app uses the "prefs:root=" non-public URL scheme, which is a private entity.

上架App Store最煩的就是被拒,但是每個程式設計師都會被虐戀過。這種情況,是說你使用了蘋果的私有API,蘋果不幹了。全域性搜尋一下  “prefs:root”  ,把這些許可權跳轉,修改為

NSURL * url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if([[UIApplication sharedApplication] canOpenURL:url]) {
    [[UIApplication sharedApplication] openURL:url];        
}

即可  iOS 關於 定位、相機、相簿許可權處理

針對部分許可權判斷及處理,請到上面傳送門檢視