UILabel *headLabel = [[UILabel alloc]initWithFrame:CGRectMake(190, 20, 100, 40)];
headLabel.text = @"客户登录";
headLabel.textAlignment = UITextAlignmentCenter;
// headLabel.font = [UIFont boldSystemFontOfSize:22];
headLabel.font = [UIFont fontWithName:@"Arial" size:25];
headLabel.textColor = [UIColor blackColor];
headLabel.adjustsFontSizeToFitWidth = YES;
headLabel.numberOfLines = 1;
headLabel.backgroundColor = [UIColor clearColor];
headLabel.highlighted = YES;
headLabel.highlightedTextColor = [UIColor blackColor];
headLabel.shadowColor = [UIColor grayColor];
headLabel.shadowOffset = CGSizeMake(1.0, 1.0);
headLabel.userInteractionEnabled = YES;
headLabel.enabled = YES;
headLabel.lineBreakMode = UILineBreakModeHeadTruncation;
headLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;