iPhone UINavigation Issue - nested push animation can result in corrupted navigation bar

后端 未结 20 2027
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 20:14

I keep getting the following errors:

2011-04-02 14:55:23.350 AppName[42430:207] nested push animation can result in corrupted navigation bar
2011-04-02 14:55         


        
20条回答
  •  情深已故
    2020-11-30 20:40

    Don't know about other's. I think most of the People using StoryBoard is facing such Problem. I am using XIB.

    In my case The Problem Was, when I was moving to another view using push, I was also using

     [self.navigationController popViewControllerAnimated:YES];
    

    in the ViewWillDisappear of the current View at the same time. Just remove it and it works fine.

    I was using POP, because of the requirement and the Flow. The Hierarchy was 1 -> 2 ->3

    I was on view 2 and wanted to move to view 3. In that case I encountered this error.

提交回复
热议问题