views:

53

answers:

1

Since a command like navigationController.navigationItem.leftBarButtonItem.width returns a zero, how can I get the size of the button? It is one of the preset UIBarButtonSystemItem's.

A: 

What does ...leftBarButtonItem.customView.bounds.size.width give you?

John Franklin
returns 0. the button does not have customView set.
SaltyNuts