CGRect frame = [self.TF_setLocation frame]; //为你定义的UITextField
frame.size.width = 15;
UIView *leftview = [[UIView alloc] initWithFrame:frame];
self.TF_setLocation.leftViewMode = UITextFieldViewModeAlways; //左边距为15pix
self.TF_setLocation.leftView = leftview;