修改系统UIAlertView的位置与大小

在特殊情况下.可能你需要修改UIAlertView 窗口的大小与显示的位置,那么需要在你的.H文件中加入 委托UIAlertViewDelegate,实现如下的方法:
- ( void)willPresentAlertView:( UIAlertView *)myAlertView {
    myAlertView. frame =  CGRectMakexywidthheight );
}

你可能感兴趣的:(uialertview)