MGSplitViewController使用情节提要 [英] MGSplitViewController using Storyboards

查看:65
本文介绍了MGSplitViewController使用情节提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为此工作了一段时间,只是无法完全正常工作...有没有人在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屋!

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