Post

Replies

Boosts

Views

Activity

WKWebView in a modal window
Is there any particular reason why a WKWebView instance set as the contentView of a NSWindow would not display web content when the window is displayed using the runModalForWindow method of NSApplication?If I display the window using the showWindow method of NSWindowController, it displays correctly.If I replace the WKWebView instance with a WebView instance, the web content displays correctly whether the window is shown modally or not.In all cases I am calling loadRequest: in windowDidLoad.Bruce
2
0
2.2k
Dec ’16