标签: ios objective-c xcode uisegmentedcontrol
我insertSegmentWith整数值到现有uisegmentedcontrol
insertSegmentWith
uisegmentedcontrol
[self.segmentAdd insertSegmentWithTitle:[NSString stringWithFormat:@"%i",t] atIndex:0 animated:YES];
它在索引处添加所有给定值:0
但我希望按升序添加这些数字(按升序排序)