MTSegmentedControl
is a UIView widget imitate from CocoaTouch's SegmentedControl.
MTSegmentedControl
can Customize segmented border widht
border cornerRadius
selected color
unselected color
and so on, which System's Control can't satisfy you
git clone
ordownload
this project- drag
MTSegmentControl
andCategory
(as your needed) group to your project #import "MTSegmentedControl.h"
MTSegmentedControl *segmentControl = [[MTSegmentedControl alloc] initWithItem:@[@"你好",@"再见哇",@"萨瓦迪卡"]];
segmentControl.frame = CGRectMake(0, 100, 250, 40);
MIT. See LICENSE for details.