objective c - UISegmentedControll not setting correct image -
i'm trying set custom image each segment control index in uisegmentedcontroll
i setting image so:
uiimage *selectall = [uiimage imagenamed:@"select active"]; [selectall imagewithrenderingmode:uiimagerenderingmodealwaysoriginal]; [self.segmentedcontrol setimage:selectall forsegmentatindex:0];
however white space in segment index , image doesn't show correctly.
is there different way this?
i building app ios7 only.
edit
here looks image set in ib or code:
sounds image not exists, sure named 'select active.png'? suggest rename test.png first see if works.
Comments
Post a Comment