Ricky Tan

Results 160 comments of Ricky Tan

Demo 工程跑起来没问题吧?

层级结构变化了,这个有点难保证 willMove 和 didMove 的调用顺序

这几天抽空试了一下,如果用系统的 `UINavigationController` push 一个 **ContainerController**,如 `UITabBarController`,当 pop 掉时,`UITabBarController` 下的 **VC** 也不会收到 willMove 和 didMove 的调用,我想原因就是它本来就没有从 `UITabBarController` 中移除,这个行为应该是对的。 另外,通过代码 push 的话,`UITabBarController` 的子 controller 可以收到 willMove 和 didMove,但是通过 **IB** 设置,并用 **Segue** 来...

没太看明白,给个示意图

手势返回与点击返回理应同等对待,你是要在手势返回中做什么特别操作吗?

应该可以在 `- viewWillDisappear` 中检查 `self.rt_navigationController.interactivePopGesture.state` 是否为 change

try: ```objc self.navigationController.tintColor = white ```