addTitlebarAccessoryViewController(_:)
Adds the specified title bar accessory view controller to the window.
Declaration
func addTitlebarAccessoryViewController(_ childViewController: NSTitlebarAccessoryViewController)Parameters
- childViewController:
An instance of Nstitlebaraccessoryviewcontroller containing the view to add, along with where to place it and how it should behave in full screen mode.