Why is self.navigationItem.backBarButtonItem always nil?

Viewed 9954

I push a view controller onto a navigation controller like this:

[self.navigationController pushViewController:anotherViewController animated:YES];

And, then, inside anotherViewController I check self.navigationItem.BackBarButtonItem and LeftBarButtonItem, but they are always nil.

I can see the backBarButtonItem, and it seems to work fine.

1 Answers
Related