WKWebViewTips icon indicating copy to clipboard operation
WKWebViewTips copied to clipboard

Cannot coexist with UIWebView on iOS 7 and below

Open edgarchu opened this issue 10 years ago • 4 comments

Hey,

I'm wondering what your experience with this was. Does this mean Apple will automatically reject an app if it uses both WKWebView and UIWebView? Wondering why you think Apple would take this position

Thanks!!

Edgar

edgarchu avatar Jan 28 '15 02:01 edgarchu

Hi,

Take a look at the issue #1

If your app's Deployment Target includes iOS7 or older versions, iTunes Connect would warn that "It uses Private API" when you submit the app. I'm not certain whether the validation still works as it used to, though.

ShingoFukuyama avatar Jan 28 '15 02:01 ShingoFukuyama

Thanks for the response!

edgarchu avatar Jan 28 '15 02:01 edgarchu

Just my 2 cents here. It's possible to submit your App with both UIWebView and WKWebView. The trick is to dynamically load the WebKit framework at runtime.

This post explains it: http://stackoverflow.com/questions/25897123/including-webkit-framework-for-ios8-fails-validation

DiAvisoo avatar Mar 13 '15 21:03 DiAvisoo

@Avisoo Thank you for the link. I also found ways (Japanese sites): http://techblog.yahoo.co.jp/ios/let-uiwebview-as-wkwebview/ http://qiita.com/tototti/items/e5b33293da388d43e2b7

ShingoFukuyama avatar Mar 14 '15 01:03 ShingoFukuyama