I'm writing an iOS app, hoping that the user can toggle between view A and B, operate on either one, and screen elements retain their states (maps, lists, text) after toggle away.
I've been thinking of several options:
- Use navigation controller, start with A, push B, pop B. This way, every time I have to re-set B's elements right?
- Start with A, present B modally from A, same effect as option 1?
- Use UISegmentedControl on one view controller for A and B. This will work, except the default segmented control is hard to customize to the look I need.
Do you have other suggestions that avoid the drawbacks of the above? Please correct me if my assumptions are not accurate too. Thanks!