UINavigationController pushViewController pauses/freezes midway through

后端 未结 3 1112
孤街浪徒
孤街浪徒 2021-01-01 19:14

I am pushing a view controller via:

[self.navigationController pushViewController:[[UIViewController alloc] init] animated:YES];

But the a

3条回答
  •  情话喂你
    2021-01-01 19:48

    While setting the background color as suggested by VinceBurn solved the pausing, it made the entire animation white, fading in the actual content only when the animation finished.

    For me the problem was solved by making sure the content was correctly sized in -viewDidLoad.

提交回复
热议问题