1 Reply
      Latest reply on Sep 2, 2019 11:47 PM by Claude31
      aiden.zhang Level 1 Level 1 (0 points)

        Hi,

         

        My mac app need to hide or disable the whole touchBar.

        1. What should I do to hide 'esc'?
        2. What should I do to hide 'the control strip'?
        3. What should I do to hide or disable the whole touchBar?

        I have read the following official documents:

        • On the right side of the Touch Bar, the system supplies the always-available Control Strip. The Control Strip gives the user access to standard controls for display brightness, sound volume, Siri, and so on. Your app’s bars appear to the left of the Control Strip. The user can choose to hide the Control Strip, which gives the frontmost app the entire Touch Bar width. Read about how bars respond to available width in NSTouchBar Layout.

         

        But, I do not know how to implement it with objc.