1
我正在嘗試製作一個iPad應用程序,其中的信息將在UINotification中彈出。但通知的默認大小相對較小。有什麼辦法可以增加通知的大小嗎?在iPad上增加UIAlertView大小
-(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); 但是裏面的文字沒有遵循。
有什麼辦法解決這個問題嗎? 感謝
謝謝。我也想知道,似乎我沒有看到有不同大小的UIAlertView。 – Clarence 2012-02-08 14:12:28