摘要: UI基础控件创建(UILabel、UITextField、UIButton)UILabel //UILabel; UILabel *nameLabel = [[UILabel alloc] init];//初始化 nameLabel.frame = CGRectMake(10, 100, 100, 30);//位置,和大小 nameLabel.text = @"Tiotoy"; //Label所显示的内容 nameLabel.text.font = [UIFont systemFontOfSize:18]; //设置字... 阅读全文
posted @ 2012-12-26 15:30 Tiotoy 阅读(257) 评论(0) 推荐(0) 编辑