The item identifier for the
NSTouch instance you want the system to center in the Touch Bar.
- macOS 10.12.1+
- Mac Catalyst 13.0+
The system attempts to center a principal item within the Touch Bar. If you want a group of items to appear centered in the Touch Bar, designate the group item (of type
NSGroup) as the principal item.
If more than one bar in the responder chain is eligible to be visible in the Touch Bar, and more than one of those has a principal item, the system determines which one to center in the Touch Bar.
The system archives this property.