Goal c - Is there a way to change leftBarButtonItem with animation?

At some point in my application, I programmatically change the leftBarButtonItem viewController (I change the entire button, not just the text).

The result is that the button does change, but right away, but I want to do it with some animation (just as if I clicked viewController, the animation would be left in the navigation bar)

Is it possible?

+3
source share
1 answer

There is a method for this called setLeftBarButtonItems: animated:

It animates toolbar item changes for you.

+4
source

All Articles