Reputation: 7012
I'm curious what the best method is for managing the traversal through several views without burning screen space using a navigation bar.
As an example, assume I have four UIView
's with associated UIViewController
's:
1: Top level menu (invokes A or B.1) 1.A: Menu selection A (return to 1) 1.B.1: Menu selection B, part 1 (invokes B.2) 1.B.2: Menu selection B, part 2 (return to A)
First, I'm unsure if a navigation controller is appropriate when I am not using a navigation bar. As an alternative, I am considering implementing a custom UIViewController
that holds view controllers and acts as a screen manager.
Thoughts?
Upvotes: 0
Views: 621
Reputation: 21517
You can always hide the navigation bar using setNavigationBarHidden:animated:
Other than that it depends on what type of app you are building. Yours sounds like something that could use a Tab Bar, although that doesn't solve your problem of taking up screen space.
XCode's templates offer another way to do it - try looking at a new project that is a "Utility" app. It shows how you can seamlessly switch between a couple of different screens.
Upvotes: 1