- 博客(2)
- 收藏
- 关注
原创 iOS UI篇 学习笔记 UIButton,UIImageView
一.UIButton实例化 UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; /* 1.UIButtonTypeSystem 2.UIButtonTypeRoundedRect 圆角按钮, iOS7之前有效,iOS7之后无效果 和UIButtonTypeSystem效果一样 3.UIB
2015-07-27 20:10:44
299
原创 iOS UI篇 学习笔记 UILabel
一.UILabel的实例化 UILabel *label = [[UILabel alloc] init];label.frame = CGRectMake(20,100,280,10); 通常为了避免frame的遗漏,这样实例化: UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20,100,280,10)];
2015-07-27 19:18:40
271
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人