【发布时间】:2012-09-06 05:54:08
【问题描述】:
我们可以编辑PopOverAlert.... 是否可以自定义UIAlertView。我也想让UIAlertView 透明。
【问题讨论】:
-
您究竟需要哪种类型的警报视图?
-
alertview 可以显示背景页面。也就是 AlertView 必须是透明的
-
表示alertview的设计是因为它只是你需要透明的alertview。对吗?
-
是的,你检查过我回答的第一个 tutsplus 链接吗?
-
实际上我已经在按钮操作中完成了这个编码..** alert=[[UIAlertView alloc]initWithTitle:@"error" message:@"qwwqreqrgvsdfhbsb" delegate:self cancelButtonTitle:@"dismiss"其他按钮标题:无,无]; [警报显示]; UILabel *theTitle = [alert valueForKey:@"_titleLabel"]; [theTitle setTextColor:[UIColor redColor]]; UILabel *theBody = [警报 valueForKey:@"_bodyTextLabel"]; [theBody setTextColor:[UIColor redColor]]; **现在我想知道使警报视图透明的代码是什么?