ipad的UiSplitviewcontroller中隐藏主视图

ipad的UiSplitviewcontroller中隐藏主视图

本文介绍了如何在ipad的UiSplitviewcontroller中隐藏主视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式在 splitviewcontroller 中隐藏主视图.在我的应用程序中,第一个屏幕将是 splitviewcontroller,我不需要下一个屏幕的任何拆分视图.我怎样才能做到这一点

解决方案

Matt Gemmell 创建了一个出色的自定义 splitViewController,称为MGSplitViewController".它非常容易实现,大量评论,并包含许多普通 splitViewController 没有的优秀功能(在横向视图上隐藏主视图,在横向视图中更改拆分的位置,允许用户在运行时流畅地更改拆分的大小,等).

信息和演示:http://mattgemmell.com/2010/08/03/mgsplitviewcontroller-updated/

直接上源码:https://github.com/mattgemmell/MGSplitViewController/>

Is there is any way to hide the master view in a splitviewcontroller programmatically. In my application the first screen will be of a splitviewcontroller, i don't need any split view for the next screens. How i can achieve this

解决方案

Matt Gemmell created an excellent custom splitViewController called "MGSplitViewController". It is very easily implemented, heavily commented, and contains a lot of excellent features not found with a normal splitViewController (hide master view on landscape view, change placement of the split in landscape view, allow user to change size of split fluidly during runtime, etc).

Info and demo: http://mattgemmell.com/2010/08/03/mgsplitviewcontroller-updated/

Straight to the source: https://github.com/mattgemmell/MGSplitViewController/

这篇关于如何在ipad的UiSplitviewcontroller中隐藏主视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 06:36