Damien Romito
Damien Romito

Reputation: 10055

IOS UIWebview alternative - Does it have a webkit browser we can use as a webview different than Safari?

I'm looking for an alternative for safari webview I could use like a UIWebview and to communicate with javascript of his webview.

Is it possible? Is Apple tolerant of this?

Upvotes: 4

Views: 4436

Answers (2)

luvieere
luvieere

Reputation: 37494

Although still inspired by Safari, starting from iOS8 there is WKWebView, a WebKit-based component that provides more powerful, higher-performance APIs than the older UIWebView.

Upvotes: 1

Jacob Oscarson
Jacob Oscarson

Reputation: 6393

Your question touches on something deeply fundamental in Apple's entire iOS strategy:

At least not yet. Even Google had to rely on embedding the standard (albeit tweaked) UIWebView to implement Chrome for iOS. We can expect Apple to be very reluctant to allow this since allowing other web renderers (possibly even with alternative JS implementations, e.g. V8) kind of breaks Apple's monopoly on control of the development environment for iOS. Allowing an alternative would essentially mean allowing an alternative runtime getting a foothold on the platform.

Although me personally, I think they will have a hard time in the long run to keep this level of purity.

Upvotes: 3

Related Questions