1
To give Hidden in Tabbar
Add this line in Swift’s Viewdidload() :
self.tabBarController?.tabBar.hidden = true
To show the Uitoolbar And in Viewdidload() try this too
toolBar.barStyle = UIBarStyle.Black
self.view.addSubview(toolBar)
Example :
import UIKit
class ViewController: UIViewController {
var toolBar = UIToolbar(frame:CGRectMake(0, 524, 320, 44))
override func viewDidLoad() {
super.viewDidLoad()
self.tabBarController?.tabBar.hidden = true
toolBar.barStyle = UIBarStyle.Black
self.view.addSubview(toolBar)
}
}