[titleView setTextColor:[UIColor redColor]];
Use this right after you show you're alert view.
Example:
if (somethingBecameTrue)
{
[yourAlertView show];
[titleView setTextColor:[UIColor redColor]];
}
To turn it back:
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex
{
[titleView setTextColor:[UIColor blackColor]];
}
To check wether it's shown or not:
if (!yourAlertView.visible) // Note the exclamation mark (!)
{
// Alertview is not shown yet
[yourAlertView show];
}