开发者

UISplitViewController And ModalView

I'd like to know simply if it is possible to present a modal view controller in an iPad application that is using the UISplitView Controller. Thank You

EDIT:

This is the code:

NewPlaye开发者_开发百科rViewController *newPlayerView;

newPlayerView = [[NewPlayerViewController alloc] initWithNibName:@"NewPlayerViewController" bundle:nil];
[newPlayerView setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
[bodyView presentModalViewController:newPlayerView animated:YES];

[newPlayerView release];


Yes, just call presentModalViewController:animated: from any view controller.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜