title: I can't use a custom Touch Bar in a status bar macOS app
body: <p>I have an app that is displayed like a status bar app (in Info.plist "Application is agent (UIElement) = YES").</p>
  
  <p>I have added a TouchBar with Interface Builder and I added some Touch Bar Buttons items on it. The problem is that the custom touch bar don't show.</p>
  
  <p>To make the custom touch bar to show I need to make the main WindowController window as Is Initial Controller true, unfortunately, by doing so, the app sows also a separate window with the same content than the popup window of the menu item.</p>
  
  <p>Is there a way to implement a custom Touch Bar for a status bar macOS app?</p>
  
  <p><a href="https://i.stack.imgur.com/IxWD4.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/IxWD4.jpg" alt="enter image description here"></a></p>