要改變UIAlertView的大小,必須先實作 <UIAlertViewDelegate> 的
- (void)willPresentAlertView:(UIAlertView *)alertView 這個Function 去改變它的frame大小和位置
- (void) willPresentAlertView:(UIAlertView *)alertView{
alertView.frame = CGRectMake(10.0f, 170.0f, 290.0f, 145.0f);
}
沒有留言:
張貼留言