Forum Xamarin.Forms

UIWebView API Deprecation Warnings

salik634salik634 Member
edited May 6 in Xamarin.Forms

Hi,
As per Apple warning about UIWebView. I had implemented WKWebView in my IOS Project and clear webview from all classes and configure release as per defined on microsoft doc but when i try to upload built on testflight I still get warning for UIWebView. Kindly tell me how can i resolve this ASAP. Thanks

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai
    edited May 7

    Did you follow this blog to remove UIWebView:
    https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/

    1. Try to add the additional mono arguments
    2. Change the Linker Behavior set to SDK Only or All

    Make sure the library you embedded in the project didn't have a reference to UIWebView. I saw someone faced this issue because he referenced Xamarin.Forms.Visual.Material which hasn't excluded UIWebView until 4.6.0.726.
    Did you utilize something like this?

  • nerdotronnerdotron Member ✭✭

    @LandLu said:
    Did you follow this blog to remove UIWebView:
    https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/

    1. Try to add the additional mono arguments
    2. Change the Linker Behavior set to SDK Only or All Make sure the library you embedded in the project didn't have a reference to UIWebView. I saw someone faced this issue because he referenced Xamarin.Forms.Visual.Material which hasn't excluded UIWebView until 4.6.0.726.
      Did you utilize something like this?

    Ran into the same error just today and found this. Thanks for the helpful reply! The instructions in that blog post fixed the problem and the app store accepted the upload!

Sign In or Register to comment.