iOS UIAlertView改变字体颜色

2016.8.26

UIAlertView*alert = [[UIAlertViewalloc]initWithTitle:@"000"message:@"00"delegate:selfcancelButtonTitle:@"cancel"otherButtonTitles:@"yes",nil];

[UIViewappearance].tintColor= [UIColorgreenColor];//修改alertview的按钮字体颜色

[alertshow];

你可能感兴趣的:(iOS UIAlertView改变字体颜色)