1.首行缩进
@property (nonatomic,strong)UITextField *phoneField;
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 0)];
_phoneField.leftView = view;
_phoneField.leftViewMode = UITextFieldViewModeAlways;
1.首行缩进
@property (nonatomic,strong)UITextField *phoneField;
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 0)];
_phoneField.leftView = view;
_phoneField.leftViewMode = UITextFieldViewModeAlways;
本文标题:iOS文本框
本文链接:https://www.haomeiwen.com/subject/zzlzhxtx.html
网友评论