[self.companyNumTF setContentInset:UIEdgeInsetsMake(-10, -5, -15, -5)];//设置UITextView的内边距 [self.companyNumTF setTextAlignment:NSTextAlignmentRight];//并设置左对齐