Created
August 31, 2010 07:40
-
-
Save zoul/558688 to your computer and use it in GitHub Desktop.
Multiple buttons in UINavigationItem
It’s been quite long since I wrote the code, but if I remember correctly, I had to compute the width beforehand. I found no workaround.
Thanks for the answer.
I'm working around it by taking the size of the text in the button and trying to guess the button padding and spacing, but still can't get to optimal results.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can the width of the items be determined at runtime?
Whenever I try to access the item.width property, it always comes back as 0.
Any pointers appreciated,
Thank you
Nicolas Ameghino