今天提交苹果审核,被苹果告知,不推荐使用的API-Apple将停止接受使用UIWebView API的应用程序的提交
以下是苹果审核的回复:
We identified one or more issues with a recent delivery for your app, "***" 1.0.11 (111). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
Best regards,
The App Store Team
有使用了蓝牙权限
我现在就是用uni-app HBuilder x版本是最新的2.3.7.20191024
请忘记我
引擎里能去除uiwebview吗,使用本地打包
2020-01-06 14:50
DCloud_heavensoft
回复 请忘记我: uiwebview是iOS自带的,引擎里没有带。引擎里只是有调用uiwebview的逻辑,当manifest指定要使用uiwebview时,会走哪里的逻辑。uni-app走不到这个逻辑,不影响的
2020-01-06 15:22
请忘记我
回复 DCloud_heavensoft: ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information 看到这种告警信息,还是很慌
2020-01-06 16:22
DCloud_heavensoft
回复 请忘记我: 不用管
2020-01-06 16:24
请忘记我
回复 DCloud_heavensoft: 使用
pdrCoreHandle?.appManager.openApp(atLocation: pWWWPath, withIndexPath: "index.html", withArgs: argus.toJSONString(), with: nil)
或者
pdrCoreHandle?.appManager.openApp(withAppid: appID, withArgs: argus.toJSONString(), with: nil)
//print(pdrAppHandle!.appInfo.indexPage)
方式打开项目,默认是WKwebview的吧
2020-01-06 16:49
DCloud_heavensoft
回复 请忘记我: 你是离线打包?切换wk或ui,是在manifest里设的,或者js代码里也可以配。和原生代码无关
2020-01-06 17:53
请忘记我
回复 DCloud_heavensoft: 是离线打包,manifest里配置了wkwebview
2020-01-06 18:11