解决办法是设置UITextField的leftView:
_field.leftView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 10, 0)];
_field.leftViewMode = UITextFieldViewModeAlways;
解决办法是设置UITextField的leftView:
_field.leftView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 10, 0)];
_field.leftViewMode = UITextFieldViewModeAlways;