UITextField及代理方法
- 作者: 内涵高级总监
- 来源: 51数据库
- 2021-08-02
? ??
? ? 注:由于已经将UITextField*text定义为全局变量,所以在新建UITextField时只需写出它的名称text。
?
? ? text=[[UITextField alloc]initWithFrame:CGRectMake(85, 220, 250, 40)];
? ? text.borderStyle=UITextBorderStyleRoundedRect;
? ? text.backgroundColor=[UIColor grayColor];
? ? text.placeholder=@"
推荐阅读
