最近上傳ios版本被拒2次俏脊,導(dǎo)致每次上傳后都很緊張∪現(xiàn)在分享被拒的原因。
1.Guideline 2.5.1 - Performance - Software Requirements
Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
翻譯大概意思就是:您的應(yīng)用程序使用“Prfs:root =”非公共URL方案爷贫,它是私有實(shí)體认然。在App Store中不允許使用非公開(kāi)API,因?yàn)槿绻@些API改變漫萄,它會(huì)導(dǎo)致用戶(hù)體驗(yàn)不佳卷员。
繼續(xù)使用或隱瞞非公開(kāi)API在未來(lái)提交此應(yīng)用程序可能會(huì)導(dǎo)致您的蘋(píng)果開(kāi)發(fā)者帳戶(hù)的終止,以及刪除所有相關(guān)的應(yīng)用程序從應(yīng)用商店腾务。
解決方法:跳到設(shè)置頁(yè)面的規(guī)避方法
?//將上面的跳轉(zhuǎn)字符串轉(zhuǎn)成字符,在進(jìn)行拼接就好了
? ? ? ? unsigned char root[ROOT_LEN] = {0x41+1,0x70+1,0x70+1,0x2d+1,0x50+1,0x72+1,0x65+1,0x66+1,0x73+1,0x3a+1,0x72,0x6f,0x6f,0x74,0x3d,0x4c,0x4f,0x43,0x41,0x54,0x49,0x4f,0x4e,0x5f,0x53,0x45,0x52,0x56,0x49,0x43,0x45,0x53};
? ? ? ? unsignedcharszRoot[ROOT_LEN];
? ? ? ? for(inti =0; i
? ? ? ? {
? ? ? ? ? ? if(i <10)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? szRoot[i] = root[i]-1;
? ? ? ? ? ? }else
? ? ? ? ? ? {
? ? ? ? ? ? ? ? szRoot[i] = root[i];
? ? ? ? ? ? }
? ? ? ? }
? ? ? ? NSData*encryptString = [[NSDataalloc]initWithBytes:szRootlength:ROOT_LEN];
? ? ? ? NSString *string = [[NSString alloc] initWithData:encryptString encoding:NSUTF8StringEncoding];
? ? ? ? [[UIApplication sharedApplication] openURL:[NSURL URLWithString:string] options:@{} completionHandler:nil];
2.使用系統(tǒng)權(quán)限毕骡,給用戶(hù)提示不清楚
解決方法:
提示要寫(xiě)清楚干什么,讓用戶(hù)明白岩瘦。
分享就到這里未巫,希望大家一起進(jìn)步。