摘要: //初始化textField并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; // 当输入框没有内容时,水印提示 提示内容为"请输入用户名" textField.placeholder = @"请输入用户名" // 设置leftView左边控件 //... 阅读全文
posted @ 2018-12-21 14:40 纯粹的code 阅读(2572) 评论(0) 推荐(0)