Reputation: 3158
If I push a view onto a navigationController and present it modally, is it possible to push and show another view without having to first dismiss the modalViewController? Thanks.
Upvotes: 1
Views: 631
Reputation: 12106
Your question is not quite clear. "push a view onto a navigationController" and "present it modally" are 2 different operations. However, after doing either of these, you can do either of those again.
NavCon push ViewA
-ViewA can then push ViewB
or
-ViewA can present ViewB modally.
NavCon show ViewA modally
-ViewA can then push ViewB // this is a little weird, but possible.
or
-ViewA can present ViewB modally.
Upvotes: 1