sureone
sureone

Reputation: 851

How to adjust bar button item width from IB or programmaticaly?

I create a UIToolbar with IB , and setup it as inputAccessoryView of one TextFiled. But I don't know how to adjust the width of bar button item and textfield width added in that toolbar.

screen capture

Upvotes: 0

Views: 144

Answers (1)

Rushabh
Rushabh

Reputation: 3203

No you can't change the width of bar button item.you can use UIButton instead of bar button item in toolbar.

Upvotes: 1

Related Questions