【发布时间】:2016-04-23 21:10:09
【问题描述】:
【问题讨论】:
-
您希望以编程方式还是在 Interface Builder 中执行此操作?
-
不管怎样。现在使用故事板。 UISegmentedControl *mySegmentedControl = [[UISegmentedControl alloc]initWithItems:@[@"Red",@"Green",@"Blue"]];可以选择吗?
标签: ios objective-c ios9