I have the following Storyboard Layout in an iOS project:
The layout is setup so that:
- A is the Navigation Controller
- B is an Intro Video (nav bar hidden as its a full screen video)
- C is the Terms & Conditions (nav bar displayed to show title)
- D is a Tab Bar Controller (Home Screen, with nav bar displayed form here on out with app logo)
- E are five home screen tabs
- F & G are two View Controllers that can be launched from the first tab (E)
Worth noting that in the future there will be two additional View Controllers linked from the bottom of F that can both link back to G.
The issue is that the F and G View Controllers do not show the tab bar. They do however still show the navigation bar on the top.
I did try to embed the E (left most) View Controller in its own Navigation Controller and F and G did then display the tab bar, however it was then showing a secondary navigation bar and back navigation seemed to get messed up/ out of sync.
I feel as though iIam staring right at the solution but currently drawing a blank and so would appreciate any ideas or pointers in the right direction before i go completely bald
Update after help from Glenn..
I have made progress. For whatever reason I embedded the first tab in its own Navigation controller and then recreated the segues and the bottom bar is appearing this time. I think last time I didn't remove the segues before embedding the tab so may be an IDE or refactoring issue.
Either way, progress but I am still seeing an issue with the back button as I were seeing the original attempt. Pressing back on F is now returning to B instead of E. I think this is because back is still using the Navigation controller A.
E to F/G?
again?PerformSegue
? – Glenn PosadasB
present theC
andD
. I've done lots of production iOS projects using this kind of flow, even in my current full-time job, this is how I do the whole flow. – Glenn Posadas