系统默认弹出UIAlertView大小是多少?

时间:2022-11-19 10:20:01
添加UIAlertView协议  UIAlertViewDelegate
在它的委托方法中可以调节alert大小,系统默认弹出UIAlertView宽度和高度分别是多少呢?
-(void)willPresentAlertView:(UIAlertView *)alertView
{
   alert.frame = CGRectMake(x, y, width, height);
}

3 个解决方案

#1


高度和你alert的内容有关

#2


引用 1 楼 hjue 的回复:
高度和你alert的内容有关
 一般简单的弹出一个警告呢?它的宽度高度

#3


一般是280*177

#1


高度和你alert的内容有关

#2


引用 1 楼 hjue 的回复:
高度和你alert的内容有关
 一般简单的弹出一个警告呢?它的宽度高度

#3


一般是280*177