AKSegmentedControl 设置默认选中项

水焱
2023-12-01
 
   //WorkDiarySegmentViewController 是自己封装AKSegmentedControl的类
   _segment = [[WorkDiarySegmentViewController alloc]init];//AKSegmentedControl初始化放到 init 否则。。
   _segment.segment.selectedIndexes = [[NSIndexSet alloc]initWithIndex:0];//

 类似资料: