添加UIAlertView协议 UIAlertViewDelegate
在它的委托方法中可以调节alert大小,系统默认弹出UIAlertView宽度和高度分别是多少呢?
-(void)willPresentAlertView:(UIAlertView *)alertView
{
alert.frame = CGRectMake(x, y, width, height);
}
在它的委托方法中可以调节alert大小,系统默认弹出UIAlertView宽度和高度分别是多少呢?
-(void)willPresentAlertView:(UIAlertView *)alertView
{
alert.frame = CGRectMake(x, y, width, height);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货