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.
精彩评论