这是我在按钮操作中的代码。我想让我的 AlertView 对我的页面透明。怎么做?
请帮我完成我的任务......
alert=[[UIAlertView alloc]initWithTitle:@"error" message:@"qwwqreqrgvsdfhbsb" delegate:self cancelButtonTitle:@"dismiss"otherButtonTitles:Nil, nil];
[alert show];
UILabel *theTitle = [alert valueForKey:@"_titleLabel"];
[theTitle setTextColor:[UIColor redColor]];
UILabel *theBody = [ alert valueForKey:@"_bodyTextLabel"];
[theBody setTextColor:[UIColor redColor]];