An object that you use to configure the title bar of a window in a Mac app built with Mac Catalyst.
- Mac Catalyst 13.0+
UIWindow has a
UITitlebar object available in Mac apps built with Mac Catalyst. You use this object to configure the title bar and its toolbar.
To show or hide a title in the title bar, set the
title property to
UITitlebar. If you set the visibility to hidden and the title bar’s
toolbar property is
nil, the window displays only the window control buttons (Close, Minimize, and Zoom).
To add a toolbar to a window, create an
NSToolbar object and assign it to the title bar’s
toolbar property. To automatically hide the toolbar when the window enters full-screen mode, set the