viewDidDisappear not getting called on a UINavigationController

前端 未结 4 848
无人及你
无人及你 2021-01-27 20:25

I\'m having a problem with my navigation controller. If I add a view controller to the stack:

- (void) tui_ToggleListStudy:(id)sender
{
    listVC = [[ListViewCo         


        
4条回答
  •  攒了一身酷
    2021-01-27 20:35

    The designated initializer for UIViewController is -initWithNibName:bundle:. Are you sure your view controller is finding its nib and finds its connected view? I'll bet if you set a breakpoint after init'ing your ListViewController, you'll find its -view returns nil.

提交回复
热议问题