开发者

remove space between toolbar buttons

i am trying to implement segmentedcontroll item since segmentedcontroll does not wor开发者_开发知识库k what i want. so i have two images and i am adding them into toolbar like this;

[toolbar setItems:[NSArray arrayWithObjects:flexibleSpace, barButtonToday, barButtonPopular,flexibleSpace,nil]];

but always there is space between buttons. how can remove the space? i do not want to space between buttons.

thanks.


It may very well be something that is a drawback to using a UIToolbar as a Segmented Control. What are you trying to do? There might be another way to do what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜