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

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

    This was happening for me because of my UIControlEvents

        [button addTarget:self action:@selector(callSecondView) forControlEvents:UIControlEventAllTouchEvents];
    

    I had to change the UIControlEventAllTouchEvents to UIControlEventTouchUpInside or however you want your button to work if you had the issue because of a UIButton call.

提交回复
热议问题