Unbalanced calls to begin/end appearance transitions for

前端 未结 25 1159
陌清茗
陌清茗 2020-12-02 06:31

I have this problem when I simulate my app, its not an error or a warning but it appears in my console, has anyone ever experienced this before?

25条回答
  •  半阙折子戏
    2020-12-02 07:12

    I had lot of problem with the same issue. I solved this by this way

    1) You're not using UIViewController's designated initializer initWithNibName:bundle:. Try using it instead of just init.

    2) set animated:YES to a NO, and that solved the problem. eg. [self.navigationController pushViewController: viewController_Obj animated:NO];

提交回复
热议问题