I am wondering if there is a way to programmatically change the current display mode set in the system settings? In particular, I want to be able to detect and switch between 5 Retina display modes on the new Retina MacBook Pro.
I looked at NSUserDefaults NSGlobalDomain to try to find how to change the current display mode in System Preferences, and could not find anything related to the display.
Thanks.
cocoa retina-display macos
Ryan maloney
source share