0

我正在使用 ECSSlidingViewController(在 iPhone 上)它工作得很好,但我想做一些特别的事情。

In my App I have an ECSSlidingViewController, a Menu (UITableViewController) for the underLeftViewControllerStoryboardId and several others UINavigationViewController when a menu entry is selected.

用户可以使用邮件中的附件从邮件应用程序导航到我的应用程序。当此导航发生时(并且应用程序已经启动),我需要从我的菜单中显示 UINavigationViewController 之一。

我可以使用以下代码在用户位于 App 层次结构中的任何位置显示菜单

    ECSlidingViewController* viewController = [DataCenter sharedInstance].slidingViewController;

[viewController anchorTopViewToRightAnimated:FALSE];

接下来,我无法全屏显示我想显示的 UINavigationViewController。

知道怎么做吗?谢谢你的帮助

塞巴斯蒂安。

4

1 回答 1

1

我猜你正在使用故事板:

self.slidingViewController.topViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"StoryBoardIdOfNavigationController"];
[self.slidingViewController resetTopViewAnimated:NO];
于 2013-12-01T06:23:16.467 回答