0

Why my Tabbar Show in Another Sidemenu item, here is my code

let navigate = storyboard?.instantiateViewController(withIdentifier: "ViewController") as! ViewController
navigationController?.pushViewController(navigate, animated: true)
koen
  • 5,383
  • 7
  • 50
  • 89

1 Answers1

1

For achieving this you have to add navigation controller before making root view controller from tabbar like shown in image. Then it will shown to your another controller.

enter image description here

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Amit gupta
  • 553
  • 3
  • 10