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

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

    I had this error message too, and the navigation bar and navigation controller transitions were weird. My setup was a bunch of Navigation Controllers embedded in a Tab bar Controller. The problem was that I didn't call super.viewDidLoad() in my Tab bar Controller implementation of viewDidLoad.

    Calling super is something the docs clearly point out that you should do when overriding viewDidLoad, and I learned this the hard way.

    Maybe this can help someone else too!

提交回复
热议问题