1.设置tetxField的内边距
[textField setValue:[NSNumber numberWithInt:5] forKey:@"paddingTop"];//上
[textField setValue:[NSNumber numberWithInt:5] forKey:@"paddingLeft"];//左
[textField setValue:[NSNumber numberWithInt:5] forKey:@"paddingBottom"];//下
[textField setValue:[NSNumber numberWithInt:5] forKey:@"paddingRight"];//右