【发布时间】:2012-02-08 13:31:50
【问题描述】:
我正在尝试制作一个 iPad 应用程序,该应用程序的信息将在 UINotification 中弹出。但是通知的默认大小比较小。有什么办法可以增加通知的大小吗?
-(IBAction) player1:(id)sender{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Player1" message:@"Long message"delegate:self cancelButtonTitle:@"Done" otherButtonTitles:nil, nil];
[alert show];
}
我尝试添加此代码, alert.frame = CGRectMake(0,0,500,500); 但里面的文字没有跟随。
有没有办法解决这个问题? 谢谢
【问题讨论】:
标签: ios ipad xcode4.2 uialertview