开发者

Can i use navigation for only the small view?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜