Popping ViewController doesn't call viewWillAppear when going back

后端 未结 2 1376
难免孤独
难免孤独 2020-12-18 06:13

Whenever I pop a view controller manually, viewWillAppear doesn\'t get called on the previous UIViewController that now appears.

These are

2条回答
  •  攒了一身酷
    2020-12-18 06:18

    You cannot have a UITabBarController "inside" of a UINavigationController. That's probably why some of the viewWillAppear methods aren't being called. Take a look here: Tab bar controller inside a navigation controller, or sharing a navigation root view

提交回复
热议问题