gpt4 book ai didi

ios - Swift UIWebView 并不总是有效

转载 作者:搜寻专家 更新时间:2023-11-01 06:32:11 24 4
gpt4 key购买 nike

我目前使用的是 Xcode 8.3.3,如果我使用的是 UIWebView,我会收到此错误,您可以在下方查看,然后在某些项目中或有时 WebView 无法正常工作在其他情况下确实如此。我已经用一个空项目对其进行了测试,是的,是 UIWebView 导致了这些问题。

objc[11182]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11df63cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11dd7a6f0). One of the two will be used. Which one is undefined.

提前致谢:)

编辑:同样使用 WKWebView 也没有改变任何东西。仍然遇到同样的问题。

最佳答案

请尝试使用 WKWebView 而不是 UIWebView。这个对我有用。希望这会帮助你。 Click here for more

关于ios - Swift UIWebView 并不总是有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45610726/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com