ios - Correct TabBar and NavBar relationship/setup -
i need tab bar controller
, nav bar controller
(for tabs). correct setup?
i have tab bar controller
each tab leads separate nav bar controller
leads vc. correct setup? or there preferred method have tab bar leads single nav bar controls vc's (for each tab)? possible, or lead lot of complications?
you can 1 navigation controller:
see image http://imgur.com/qxxjezi
detail description:
navigation , tab bar
- navigationcontroller -> check mark is initial view controller
- tabbarcontroller -> relationship segue root view controller
both tabs
- fisrttabviewcontroller-> relationship segue view controllers
- secondtabviewcontroller-> relationship segue view controllers
both tabs details
- fisrttabdetailviewcontroller-> action segue show
- secondtabdetailviewcontroller-> action segue show
Comments
Post a Comment