Nested Push Animation Can Result in Corrupted Navigation Bar

  • AUTHOR: truelson
  • January 25, 2013
Nested Push Animation Can Result in Corrupted Navigation Bar

Hey Folks,

Realized that I solve a fair number of bugs (recently iOS bugs) and figured I’d start listing some of my findings in our blog, largely to help me remember them, help others, and maybe bring a little traffic.

Got this cryptic error today on Appointment Buddy today, “Nested Push Animation Can Result in Corrupted Navigation Bar” and the translated meaning is, don’t push or pop new views on the navigation controller until it’s finished with the last push or pop.

So if you have buttons that create a new view, make sure they are allowed only to push or pop the navigation controller once. If someone keeps tapping the create button, you have to block all those extra calls and only let it push once.

That’s all folks!