Ios – UIWebView Deprecation and App Store Rejection on Xamarin Forms

iosxamarinxamarin.formsxamarin.ios

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

enter image description here

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

enter image description here

Thank you!

Best Answer

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.

Related Topic