I'm trying to get the width of a UIBarButtonItem
.
This doesn't work:
barbuttonitem.customView.frame.size.width
And this won't work, either:
barbuttonitem.width
See Question&Answers more detail:osI'm trying to get the width of a UIBarButtonItem
.
This doesn't work:
barbuttonitem.customView.frame.size.width
And this won't work, either:
barbuttonitem.width
See Question&Answers more detail:os