用于在textField的左边 产生占位空格
-(void)creatView
{
UITextField* companyNameF = [[UITextField alloc]init];
companyNameF.backgroundColor = [UIColor lightGrayColor];
companyNameF.frame = CGRectMake(10, 74, KDeviceW - 20, 40);
companyNameF.placeholder = @"输入公司名";
[self.view addSubview:companyNameF];
//占位空格
CGRect leftFrame = companyNameF.frame;
leftFrame.size.width = 10;
UIView *leftview = [[UIView alloc] initWithFrame:leftFrame];
companyNameF.leftViewMode = UITextFieldViewModeAlways;
companyNameF.leftView = leftview;
}