When I try to change the height of a UIToolbar through Storyboard, the option is greyed out.
I'm aware I can do this programatically, but is there any alternative way to do it on my storyboard, perhaps by using a different interface item? It'd be better to have it all on storyboard, to avoid code confusion. Or should I not be changing the height - is that likely to get it rejected from the app store?
My end goal is a toolbar with 50 x 50 image icons on, and a bit of padding.
N.B. I've read this question - but here, the accepted answer doesn't seem to actually answer the question...
If you use auto layout, you could set a Height Constraint. This worked for me on a UISegmentedControl
, but I did not test it on a UIToolbar
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With