Topics

***UNCHECKED*** Re: [cocoa-dev] How to present a web view while supporting 10.9?

Owen Hartnett
 

Yes.  Prior to 10.12, WKWebView was not available in Interface Builder and could only be instantiated in code.

-Owen

On Feb 7, 2020, at 10:13 AM, John Brownie <john_brownie@...> wrote:

I should note that, once I put the WKWebView into the window, there is an error that I hadn't noticed before:
error: Class Unavailable: WKWebView before macOS 10.12 (NSCoding support was broken in previous versions)
So I would have to drop support for 10.9-10.11 to use WKWebView, so I really need to work out how to do this.

Is building the window in code the solution?

John