开发者

UISplitViewController And ModalView

开发者 https://www.devze.com 2023-01-31 10:43 出处:网络
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.

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

精彩评论

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