Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我将视图推送到 navigationController 并以模态方式呈现,是否可以推送并显示另一个视图而无需先关闭 modalViewController?谢谢。
你的问题不是很清楚。“将视图推送到导航控制器”和“以模态方式呈现”是 2 个不同的操作。但是,在完成其中任何一个之后,您可以再次执行其中任何一个。
NavCon 推送 ViewA -ViewA 然后可以推送 ViewB 或 -ViewA 可以模态呈现 ViewB。
NavCon 以模态方式显示 ViewA
-ViewA 然后可以推送 ViewB // 这有点奇怪,但可能。或 -ViewA 可以模态显示 ViewB。