2010-06-29 46 views

回答

0

如果您使用的是modalTransitionStyle屬性,則不適用。

如果你想這樣做,你可能必須自己動畫。

These是您可以使用的所有可能的轉換樣式。

+0

我認爲如此。 非常感謝。 – 2010-07-04 06:19:31

2

第一嘗試......過渡的意見,並完成時,然後呈現模態視圖控制器(未動畫)

ModalViewController *modalViewController = [ModalViewController alloc] initWithNibName:@"ModalViewController" bundle:nil]; 
[UIView transitionFromView:self.view toView:modalViewController.view duration:0.75 options:UIViewAnimationOptionTransitionFlipFromLeft completion:^(BOOL finished){ 
    if (finished) { 
     [self presentViewController:modalViewController animated:NO completion:nil]; 
    } 
}];