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

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

    1) Perhaps you could try passing the necessary variables as properties before pushing the UIViewController rather than using the init methods with parameters. Most likely you will need these parameters beyond your init method anyway.

    Also, in your initWithCoordinates: method you are missing the parameters. Possibly your custom init methods are a part of the problem.

    2) Just because you mentioned viewDidLoad -- this method is for initialization after a view has loaded . If you create the UIViewController in code, as it seems you do, you should use loadView to set up your subviews.

提交回复
热议问题