When using a UINavigationController the viewWillAppear or viewDidAppear methods of my controller are not called

后端 未结 6 1845
眼角桃花
眼角桃花 2020-12-30 06:21

Here is the pitch.

  • I have a UIViewController subclass which does something in its viewWillAppear and viewDidAppear methods.
  • I want to nest this view c
6条回答
  •  忘掉有多难
    2020-12-30 07:12

    One reason this will happen is if you override viewDidAppear: in your UINavigationController subclass and don't call [super viewDidAppear:animated];...

提交回复
热议问题