开发者

remove space between toolbar buttons

开发者 https://www.devze.com 2023-01-29 15:33 出处:网络
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;

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

精彩评论

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

关注公众号