8***@qq.com
8***@qq.com
  • 发布:2018-08-16 15:49
  • 更新:2018-08-16 15:49
  • 阅读:1119

IOS发布被拒

分类:HTML5+

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.

Next Steps

To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using the "prefs:root" or "App-Prefs:root" URL scheme.

If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.
我的代码是:
/**IOS系统页面跳转***/
activity.executeIOSSettingActivity = function(urlStr){
var UIApplication = plus.ios.importClass('UIApplication');
var NSURL = plus.ios.importClass('NSURL');
var url = NSURL.URLWithString(urlStr);
var app = UIApplication.sharedApplication();
app.openURL(url);
}
//Wify网络设置
activity.goToWifySetting = function(){
if(plus.os.vendor=="Google"){
var Settings = plus.android.importClass("android.provider.Settings");
activity.executeAndroidSettingActivity(Settings.ACTION_WIFI_SETTINGS);
}else if(plus.os.vendor=="Apple"){
activity.executeIOSSettingActivity('App-Prefs:root=WIFI');
}
}

2018-08-16 15:49 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复