I have some issue in Tabbar controller. I put "FAQ" tab bar item in the bottom. When the app runs on the small screen devices, it automatically appears in More section.
The problem is that I put "Nav Bar" in FAQ view controller. For large screens (ipad), FAQ bar item shows in bottom. When Navbar item goes to More section, navbar is appear as two bar. One bar is that I make and another bar is default bar.
My current problem solving way is
if (UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad)
{ //ipad
navBar.isHidden = false
}
else {
navBar.isHidden = true
}
I don't know that way is right or wrong.
Please help me how to remove Navbar when it appears in small screen. Now, I am using Swift 3 (Xcode 8).
English Language is not my native language. I'm sorry for my english grammar.