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

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

    What do you mean when you say you use init methods instead of viewDidLoad methods?

    If you're pushing a new view controller before the old push has bad a chance to be actioned, you will get this sort of error. So putting certain code into init and doing things prematurely could certainly get you the error being reported.

    At the point where init is being run on a view controller, the view hasn't been loaded yet!

提交回复
热议问题