Xamarin表单上的UIWebView弃用和App Store拒绝 [英] UIWebView Deprecation and App Store Rejection on Xamarin Forms

查看:59
本文介绍了Xamarin表单上的UIWebView弃用和App Store拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以解决以下问题吗?

我的设置

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 最新的库也删除了引用到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

https://docs.microsoft.com/en-gb/xamarin/xamarin-forms/user-interface/webview?tabs=macos#uiwebview-deprecation-and-app-store-rejection-itms-90809

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆