toggleFullScreen(_:)
Takes the window into or out of fullscreen mode,
Declaration
func toggleFullScreen(_ sender: Any?)Parameters
- sender:
The object that sent the message.
Discussion
If an application supports fullscreen, it should add a menu item to the View menu with toggleFullScreen: as the action, and nil as the target.