【发布时间】:2021-05-14 04:05:33
【问题描述】:
我的主屏幕包含一个带有三个按钮的 TabBar。其中一个按钮为带有四个附加 ViewController 的流打开 NavigationContoller。
在此流程结束时,会弹出一个屏幕“Gratulations, bla bla bla ...”
在这个视图中是一个 UIButton “返回主屏幕”,它将主屏幕移动到 "tabBarController?.selectedIndex = 0"
到目前为止它有效!
但是,如果我再次单击 TabbarButton,我会再次看到屏幕“Gratulations, bla bla bla ...”。
谁能告诉我谁重置了 NavigationController 流程又开始了
谢谢丹尼斯
【问题讨论】:
标签: swift uinavigationcontroller uitabbarcontroller uinavigationbar uitabbar