I’m working on a Cocoa Mac app where I need to display a window/view on a secondary monitor, full-screen.
I know how to create a window that could be dragged onto the secondary monitor, but I was wanting to programmatically create the window and make it full screen on the external monitor.
First, determine which screen you want to use by iterating over
[NSScreen screens].Create a full screen window with:
You might want to google
CGDisplayCapture()as well.