Apple Warning for UIWebView

402
1
04-14-2020 08:00 PM
PauloVieira
New Contributor

Hello,

The latest version of my app with ArcGIS IOS SDK 100.7 came back with 

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020. See https://developer.apple.com/documentation/uikit/uiwebview for more information.

Looking at the SDK Framework file I see that 

typedef NS_ENUM(NSInteger, AGSPopupViewControllerType){

    AGSPopupViewControllerTypeWeb,            /*!< View controller that displays an embedded UIWebView */

};

Just wondering anyone else has run into similar issues. Or has had any workarounds to this? 

0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor

The AGSPopupViewControllerTypeWeb uses WKWebView and not UIWebView. You can look at 100.7 API Reference documentation. Can you please double check which SDK version you are using?

ArcGIS Runtime SDK for iOS: AGSEnumerations.h File Reference 

AGSPopupViewControllerTypeWeb 

View controller that displays an embedded WKWebView

Regards,

Nimesh

0 Kudos