モーダルなウインドウを表示したい
モーダル(Modal)なウインドウを表示したい場合には「UIViewController#presentModalViewController:animated:」と「dismissModalViewControllerAnimated:」を利用します。
// aViewControllerをモーダルなウインドウとして開く [self presentModalViewController:aViewController animated:YES];
- (IBAction)closeButtonPressed { // モーダルなウインドウを閉じる [self dismissModalViewControllerAnimated:YES]; }