ios - Swift-How do I add Tab Bar AND Navigation Bar to a single view controller? -
using xcode, , either through code or through storyboard, can please explain me how add both tab bar , nav bar view controller while keeping both visible?
thanks much.
in storyboard, should drag out tab bar controller , use initial view controller. then, should embed each of view controllers attached tab bar controller inside navigation controllers (editor menu: embed in > navigation controller). afterward, storyboard should this:
the tab bar controller holds tab bar , manage switching between other views attached it, while navigation controllers place navigation bars @ top of each tab , manage navigation within tab.
Comments
Post a Comment