UIViewController中的UISplitView [英] UISplitView in UIViewController

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

问题描述

我正在使用Ipad应用程序
我想将UISplitView添加到UIViewController,并且应该采用编程方式 谁能帮我摆脱困境
我已将拆分视图添加到UIWindow并工作正常,但我需要将UISplitView添加到UIView Controller, 当用户点击主屏幕上的按钮时,它将进入详细信息视图,并且详细信息视图应为UISplitView
预先感谢

Hi I am working With Ipad Application
I want to Add UISplitView to UIViewController and it Should be in Programmatic approach Can Any one help me how to get out of this
i have added split view to the UIWindow and Worked Fine ,But i need to add UISplitView to UIView Controller, when the User Taps a button in Main Screen it goes to detail View and the detail view should be UISplitView
Thx in Advance

推荐答案

我建议使用MGSplitViewController.它具有与常规API类似的API,但还有许多其他功能.其中之一是能够将其添加为子视图.

I would suggest MGSplitViewController. It has a similar API to the regular, but with many extras. One of which is ability to add it as subview.

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

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