Xamarin表单上的UIWebView弃用和App Store拒绝 [英] UIWebView Deprecation and App Store Rejection on Xamarin Forms
问题描述
我可以解决以下问题吗?
我的设置
Xamarin.iOS版本:13.16.0.13(Visual Studio社区)
Visual Studio Community 2019 for Mac版本8.5.2(内部版本13)
Xamarin.Forms 4.5.0.617
我按照这里的说明
解决此问题
ITMS-90809:不赞成使用API-使用UIWebView的新应用没有不再接受.相反,请使用WKWebView来提高安全性,并可靠性.
但是我在发布时遇到以下错误
谢谢!
解决方案作为Microsoft 在Microsoft博客中提到的问题,已在Xamarin.Forms 4.6
中修复现在在4.6中,我们正在更新到Google库的绑定.我们有改进了对样式设置的支持,例如设置按钮的已禁用"文字颜色.最新的库也删除了引用到Apple弃用的UIWebView.
因此,将您的Xamarin.Forms更新到4.6版.
Can i fix the following ?
My setup
Xamarin.iOS Version: 13.16.0.13 (Visual Studio Community)
Visual Studio Community 2019 for Mac Version 8.5.2 (build 13)
Xamarin.Forms 4.5.0.617
I follow the instruction here
and here
https://github.com/xamarin/Xamarin.Forms/issues/7323#issuecomment-542363338
to fix this problem
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.
but i get the following error on publish
Thank you!
解决方案As Microsoft mentions in the Microsoft blog, this is fixed in Xamarin.Forms 4.6
Now in 4.6, we are updating the bindings to Google’s library. We have improved the styling support for things like, setting a button’s ‘Disabled’ text color. The latest library also removes the reference to Apple’s deprecated UIWebView.
So update your Xamarin.Forms to Version 4.6.
这篇关于Xamarin表单上的UIWebView弃用和App Store拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!