摘要:
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]; //设置字... 阅读全文