- (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