Is there any way to hide controlstrip of NSTouchBar programmatically? NSPopOverTouchBarItem has a private property showsControlStrip. But how do I make use of this private property?
Thank you.
Is there any way to hide controlstrip of NSTouchBar programmatically? NSPopOverTouchBarItem has a private property showsControlStrip. But how do I make use of this private property?
Thank you.
Copyright © 2021 Jogjafile Inc.
There's no API to persistently hide the Control Strip. There are cases where the Control Strip is temporarily suppressed to accommodate other UI (e.g. while using press-and-hold popover items), but this tends to be for transient UI only.
The Control Strip's visibility is configurable under Keyboard preferences, so permanently hiding it could contradict the user's explicit preference.