Instance Property

maxFullScreenContentSize

A maximum size that is used to determine if a window can fit when it is in full screen in a tile.

Declaration

@property NSSize maxFullScreenContentSize;

Discussion

By default, the system uses Auto Layout to determine the maximum size, so applications that don’t change window content upon entering full screen should not need to set the value of maxFullScreenContentSize. (If Auto Layout is not used, the system queries contentMinSize and contentMaxSize.) If an application does significant rework of the user interface in full screen, then it may be necessary to set the value of maxFullScreenContentSize. You can use this property even if the window does not support full screen, but can be implicitly opted into supporting a full screen tile based on resizing behavior and window properties (for more information, see the collectionBehavior property).

See Also

Sizing Content

contentAspectRatio

The window’s content aspect ratio.

contentMinSize

The minimum size of the window’s content view in the window’s base coordinate system.

- setContentSize:

Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system.

contentMaxSize

The maximum size of the window’s content view in the window’s base coordinate system.

contentResizeIncrements

The window’s content-view resizing increments.

contentLayoutGuide

A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect.

contentLayoutRect

The area inside the window that is for non-obscured content, in window coordinates.

minFullScreenContentSize

A minimum size that is used to determine if a window can fit when it is in full screen in a tile.