摘要:
UILabel:显示文本的控件 // 1.创建对象 UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 250, 100, 30)]; // 2.设置相关属性// label.backgroundCol... 阅读全文
posted @ 2015-08-29 21:16
誓言の真嗳
阅读(115)
评论(0)
推荐(0)
摘要:
滑块控件UISlider继承与UIControlUISlider *slider = [[UISlider alloc] initWithFrame:CGRectMake(30, 200, 300, 34)]; slider.minimumValue = 0; // 最小值 默认0 sl... 阅读全文
posted @ 2015-08-29 20:53
誓言の真嗳
阅读(193)
评论(0)
推荐(0)
摘要:
分段控件UISegmentedControl继承与UIControl UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"全部商家", @"优惠商家", @"我的"]]; ... 阅读全文
posted @ 2015-08-29 20:51
誓言の真嗳
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号