- (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为什么SegmentedControl以相反顺序打开?
谢谢你,但没有改变 – Astakhoff