导航到 SplitViewController [英] Navigate to a SplitViewController

查看:14
本文介绍了导航到 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?

推荐答案

根据 Apple 的规定,它应该始终是根控制器.

It should always be the root controller according to Apple.

分割视图控制器的视图应始终以 root 身份安装应用程序窗口的视图.你永远不应该呈现拆分视图在导航栏或标签栏内界面.

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天全站免登陆