//设置距离左边的距离
//设置左视图显示,默认不显示
UITextField.leftViewMode = UITextFieldViewModeAlways ;
UITextField.leftView=[[UIView alloc]initWithFrame:CGRectMake(0, 0, 5, 0)];
//设置距离左边的距离
//设置左视图显示,默认不显示
UITextField.leftViewMode = UITextFieldViewModeAlways ;
UITextField.leftView=[[UIView alloc]initWithFrame:CGRectMake(0, 0, 5, 0)];