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;

上一篇下一篇

猜你喜欢

热点阅读