导航到SplitViewController [英] Navigate to a SplitViewController

查看:70
本文介绍了导航到SplitViewController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在玩iPad SDK寻找改进我目前的iPhone应用程序的方法。我有一对夫妇的地方,我认为新的SplitView看起来不错。我的问题是如果可以导航到一个SplitView与我当前导航的应用程序?主要是我不知道如何将SplitViewController推送到我当前的视图堆栈。任何想法?

I've been playing around with the iPad SDK looking for ways to improve my current iPhone app. I've got a couple place where I think the new "SplitView" would look pretty good. My question is if it's possible to navigate to a "SplitView" with my current navigation based application? Mainly I'm not sure how to push that SplitViewController onto my current stack of views. Any thoughts?

推荐答案

它应该始终是根据苹果的根控制器。

It should always be the root controller according to Apple.


拆分视图控制器的视图
应始终安装为应用程序窗口的根
视图。您
不应该在导航或制表符栏
界面内显示拆分视图

The split view controller’s view should always be installed as the root view of your application window. You should never present a split view inside of a navigation or tab bar interface.

这篇关于导航到SplitViewController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆