Abh*_*Dam 6 webview ios swift visionkit
我试图通过将 Web 应用程序包装为 iOS 的 webView 来创建一个应用程序,并在运行该应用程序后,当我在应用程序中测试它一段时间后出现此错误。另外,在尝试访问 mui 下拉菜单时,我收到此错误以及白屏:
2023-07-18 11:54:15.672093+0530 Demo[9326:166450] Simulator user has requested new graphics quality: 100
2023-07-18 11:55:15.582790+0530 Demo[9326:166450] [com.apple.VisionKit.processing] Analysis not completed because device does not support Image Analysis. This will only be logged once.
2023-07-18 11:55:15.814158+0530 Demo[9326:166450] [com.apple.VisionKit.RemoveBackground] Request to remove background on an unsupported device. Error Domain=com.apple.VisionKit.RemoveBackground Code=-8 "(null)"
2023-07-18 11:55:15.815166+0530 Demo[9326:166450] [UILog] Called -[UIContextMenuInteraction updateVisibleMenuWithBlock:] while no context menu is visible. This won't do anything.
Run Code Online (Sandbox Code Playgroud)
对 Android 做了同样的事情,并且运行良好。我以为 iOS 应用程序也会出现同样的情况,但没有...我偶然发现了这个错误,坦率地说,我对这个 Xcode 和 Swift 非常陌生,不知道该怎么做或如何解决这个问题。
小智 0
我使用 Cordova iOS 作为将 Web 视图应用程序包装到 ios 应用程序的一部分。我也面临这个问题。
我通过在 cordova 项目根目录中的 config.xml 文件中添加以下行来修复它:
<preference name="WKWebViewOnly" value="true" />
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1556 次 |
| 最近记录: |