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

后端 未结 20 2030
伪装坚强ぢ
伪装坚强ぢ 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:58

    This has already been answered, but I thought this might help others as I got the same error but without using table views. I finally figured out the problem.

    I had an existing button whose IBAction invoked a pushViewController. I had created a new button by copying the existing button. The new button also had an action that invoked pushViewController. When the new button was tapped (touch up inside) and the view controller was pushed, I got this error. I deleted the new button, created it from scratch, bound it to the existing outlets and actions, and the error went away.

提交回复
热议问题