iOS文本框
2017-07-15 本文已影响0人
Satanshun
1.首行缩进
@property (nonatomic,strong)UITextField *phoneField;
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 0)];
_phoneField.leftView = view;
_phoneField.leftViewMode = UITextFieldViewModeAlways;