I have been trying to make my Mac application enter fullscreen now for a while but can\'t get it to work. According to the Apple developer center, I should use enterFullScreenMo
[self.view setFrame:[[NSScreen mainScreen] visibleFrame]];