viewDidAppear not getting called

后端 未结 8 973
醉酒成梦
醉酒成梦 2021-01-12 00:17

In my main UIViewController I am adding a homescreen view controller as subviews:

   UINavigationController *controller = [[UINavigationController alloc] ini         


        
8条回答
  •  醉梦人生
    2021-01-12 00:30

    Another case where this will not be called at launch time (yet may be called on when you return to the view) will be is if you have subclassed UINavigationController and your subclass overrides

    -(void)viewDidAppear:(BOOL)animated

    but fails to call [super viewDidAppear:animated];

提交回复
热议问题