I would like to make the alert views in my app a solid white, instead of an semi-transparent white. Since UIAlertView extends UIView, I have tried the following:
alert.backgroundColor = [UIColor whiteColor];
alert.alpha = 1;
alert.opaque = YES;
but the alert continues to transparent. How can I make it have a solid white background?