MGSplitViewController使用情节提要 [英] MGSplitViewController using Storyboards
问题描述
我已经为此工作了一段时间,只是无法完全正常工作...有没有人在iOS 5中使用情节提要实现MGSplitViewController应用程序?我只是无法像示例项目中那样显示任何东西,并且想知道是否有任何教程或只是一些使它起作用的步骤...
I have been working on this for some time now and just cant quite get it to work... Has anyone implemented a MGSplitViewController app using storyboards in iOS 5? I just cant get anything to show up like in the example project and was wondering if there were any tutorials or just steps to getting this to work...
谢谢
推荐答案
iOS 5允许您自定义创建 View Controller容器. 请参阅"实施UIViewController包含".他们有一个示例项目演示,但不确定是否已发布源代码.
iOS 5 allows you to custom create View Controller containers. Refer to "Implementing UIViewController Containment". They have a sample project demo, but not sure if they have published the source code.
我认为您可以创建一个包含另外两个子ViewController的根ViewController
I think you can create a root ViewController that holds two more child ViewControllers
-
子项1-具有
UITableView
,并向左对齐.
儿童2-右侧的详细信息为UIView
.
Child 2 - Has UIView
for the details on the right.
MGSplitViewController
样式转换可以通过transitionFromViewController:toViewController:
这篇关于MGSplitViewController使用情节提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!