- (void)viewDidLoad
{
[super viewDidLoad];
[self.segmentedControl removeAllSegments];
s = 0;
for (NSDictionary *dictionary in self.top.segments) {
[_segmentedControl insertSegmentWithTitle:dictionary [@"sTitle"] atIndex:s animated:NO];
self.bioTextView.text = [NSString stringWithFormat:@"%@", dictionary [@"sData"]];
}}
我的 segmentedControl 以相反的顺序开始。请哪位知道,告诉我如何解决这个问题?请看视频中的例子:http: //youtu.be/YSYFxvb7fpA