Tom el Safadi
Tom el Safadi

Reputation: 6746

Hide tab bar in NSTabViewController in storyboard

Does anybody know how to hide the tabbar within a NSTabView? There are just iOS versions out there but I need a solution for OSX.

Here is my storyboard:

enter image description here

I want to hide the tabbar… Where do I have to do it and how do I have to do it?

Upvotes: 15

Views: 3298

Answers (1)

rob mayoff
rob mayoff

Reputation: 385500

You're using an NSTabViewController. You need to make two changes in your storyboard.

First, select the tab view controller and set its Style to “Unspecified”:

tab view controller style

Next, select the tab view under the tab view controller (it'll probably be named “Top Tab View”) and set its Style to “Tabless”:

tab view style

Upvotes: 42

Related Questions