Reputation: 45
This ought to be simple but I just can't figure this one out:
The default behaviour when clicking the backbutton in a UINavigationController is that the current view gets popped with an animation. How can I override the default behaviour so that this transition is not animated?
Upvotes: 0
Views: 1339
Reputation: 2196
[self.navigationController popToViewController:viewController animated:NO];
Upvotes: 2