I have a class that is viewcontroller and I’v putted it inside of tabbar.
I want to have a top bar with text on it and I dont know how to do it, like this.
Now I’m using a label and place it at the top but isnt the same.
I have a class that is viewcontroller and I’v putted it inside of tabbar.
Share
You can put your view controller inside a navigation controller or use UINavigationBar as a standalone object. Just create an instance of UINavigationBar and add it to view hierarchy like any other subview.