Discussion Forums  >  WebViews and HTML for Mobile

Replies: 6    Views: 358

Caped Crusader
Aspiring developer
Profile
Posts: 38
Reg: Dec 17, 2012
London
9,330
03/25/17 06:04 AM (7 years ago)

WKWebView

Important Starting in iOS 8.0 and OS X 10.10, use WKWebView to add web content to your app. Do not use UIWebView or WebView. Is this implemented in 4.0? I read that Apple are now rejecting apps that use WebView.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/25/17 07:58 PM (7 years ago)
Do you have a reference with a link for this information? Cheers! -- Smug
 
Caped Crusader
Aspiring developer
Profile
Posts: 38
Reg: Dec 17, 2012
London
9,330
like
03/26/17 03:01 AM (7 years ago)
 
Caped Crusader
Aspiring developer
Profile
Posts: 38
Reg: Dec 17, 2012
London
9,330
like
03/26/17 04:25 AM (7 years ago)
Just to add, I read this: Migrate UIWebView to WKWebView http://stackoverflow.com/questions/36214247/migrate-uiwebview-to-wkwebview
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/26/17 07:23 AM (7 years ago)
Interesting. But I wouldn't read too much into it, until there is an official statement from Apple. The biggest issue comes down to what Apple's definition of 'code' would be, which can vary wildly, and even so; they can't just 'flip a switch'. They've already proven that with their https debacle. Just my opinion; your mileage may vary. Cheers! -- Smug
 
Caped Crusader
Aspiring developer
Profile
Posts: 38
Reg: Dec 17, 2012
London
9,330
like
03/26/17 07:34 AM (7 years ago)
I will start using WKWebView and future proof. Thanks.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/27/17 02:50 AM (7 years ago)
I didn't see anywhere when googling that says that UIWebView is deprecated, but it does sound like WKWebView brings performance benefits and no downside. It does not appear to be completely 'like for like' to implement though. It only works for iOS 8 and above, but as that is the entry level for BT4, perhaps it would be a fun experiment to find out how easy it might be to implement. Might be interesting to try & convert an existing plugin, perhaps the custom URL plugin? Any takers?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.