2013年9月6日
摘要: 一、创建UISegmentedControl* mySegmentedControl = [[UISegmentedControl alloc]initWithItems:nil];是不是很奇怪没有指定位置和大小呢?没错,我确实在他的类声明里只找到 initWithItems 而未找到 initWithFrame ,所以他不需要指定,不过我看到了另一个方法,这个方法可以设置Item的宽度:mySegmentedControlsetWidth:100forSegmentAtIndex:0];//设置Item的宽度二、属性mySegmentedControl.segmentedControlSty 阅读全文
posted @ 2013-09-06 14:11 水涧无恒 阅读(345) 评论(0) 推荐(0) 编辑