NSString *title2=@"欢迎阅读《你好明天》声明";
NSMutableAttributedString *att = [[NSMutableAttributedString alloc]initWithString:title2];
[att addAttribute:NSForegroundColorAttributeName value:[UIColor blueColor] range:NSMakeRange(4, 5)];
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50, 200, 250, 30)];
label.font = [UIFont systemFontOfSize:14];
label.text = title2;
label.textColor = [UIColor lightGrayColor];
label.attributedText = att;
[self.view addSubview:label];