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:

enter image description here

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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -