iOS基础控件详解
文章平均质量分 84
蚊香酱
iOS开发小白进阶ing
展开
-
UIButton详解
=======================基础功能======================= // 使用此种初始化方法,title文字默认为白色,不推荐使用 UIButton * button = [[UIButton alloc] initWithFrame:CGRectMake(0, 100, 40, 30)]; /* 初始化不同类型的UIButton(推荐) UIButton原创 2015-07-01 14:31:34 · 1868 阅读 · 0 评论 -
UILabel详解
// 创建UILabel对象 UILabel * label = [[UILabel alloc] initWithFrame:CGRectMake(50, 50, 200, 50)]; // 文字内容 label.text = @"Hello World Hello World"; // 字号,默认17 label.font = [UIFont systemFontOfSize:20];原创 2015-07-01 15:10:41 · 459 阅读 · 0 评论 -
UIImageView详解
声明:iOS开发小白程序员一枚,正在新手上路级别,行文中如有错误,还望各位批评指正,谢谢^^ - (void)createUIImageView { //UIImageView的创建方式 UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 100)];原创 2015-01-26 14:07:53 · 705 阅读 · 0 评论