I\'m trying to get the width of a UIBarButtonItem.
UIBarButtonItem
This doesn\'t work:
barbuttonitem.customView.frame.size.width
And t
What about this:
UIBarButtonItem *item = /*...*/; UIView *view = [item valueForKey:@"view"]; CGFloat width = view? [view frame].size.width : (CGFloat)0.0;