I’m an ObjC / Cocoa novice.
I have a WebView which I wish to display full screen across two screens side-by-side.
Using NSView enterFullScreenMode with the NSFullScreenModeAllScreens option I can make my app go full screen, but the WebView only fills my left-hand primary display – the secondary (right hand) display stays black.
Is it possible to make the WebView fill both screens?
I found the answer myself:
The last line is the important one – it’s necessary to set the size of
view.windowrather than thewindowproperty of the application delegate. For reasons I don’t yet understand those don’t appear to be the same thing.