开发者

Can i use navigation for only the small view?

开发者 https://www.devze.com 2023-04-04 15:36 出处:网络
If i have a landscape view of 300/200 in an开发者_运维问答 iPad, i want to use navigation for only the small view, is that possible? If yes, an example will be really helpfullWhat about this:

If i have a landscape view of 300/200 in an开发者_运维问答 iPad, i want to use navigation for only the small view, is that possible? If yes, an example will be really helpfull


What about this:

MainController *controller = [[MainController alloc] init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:controller];
[controller release];
[self.navigationController presentModalViewController:navController animated:YES];
navController.view.superview.frame = CGRectMake(0, 0, 300, 300);
[navController release];

Hope this will help you

0

精彩评论

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

关注公众号