摘要:
//初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borde... 阅读全文
摘要:
第一步: 在你的textfield类中的.h文件中写入委托声明 #import @interface ViewController1:UIViewController @end 第二步:然后再去你的.m文件中进行实现 //密码文本框 UITextField *passtext... 阅读全文
摘要:
//初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borde... 阅读全文