You’re working on your Share extension with support for MacBook Pro’s Touch Bar, but it’s empty and doesn’t appear when your extension is loaded?
The solution is simple:
Call [self.view.window makeFirstResponder:self.view]; and it will push your glorious NSTouchBar onto the stack:
Hope it helps – it would have saved me 20 minutes if I’d known ;)
– – – Do you enjoy my blog and/or my software? – – –
Stay up-to-date on all things Eternal Storms Software and join my low-frequency newsletter (one mail a month at most).
Thank you :)