swiftmacosnstouchbarmacbookpro-touch-bar

Disable Touchbar for my application (and make function keys always visible)


I have written a macOS app which uses a lot the function keys. I need to include the Touch Bar support but for the moment I would like to set the function keys as default, so the app is still fully usable.

How can I do that?


Solution

  • I think that I have found a solution. There is a macOS setting which allows to do exactly what I am looking for, so in order to get the behaviour I want I have only to make my app change programmatically that setting.

    enter image description here