如何移动 UIViewController? [英] How to move an UIViewController?

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

问题描述

我想做一个像 Facebook 这样的应用,当你按下面板按钮时,菜单会出现在左边.为此,我有一个带有 UITableView 的第一个 UIViewController,另一个带有没有动画的模态转换.要显示 UITableView(我的菜单),我想将我的第二个 UIViewController 移动到右侧.

I want to do an app like Facebook with the menu that appears on the left when you push on the panel button. To do that, I have a first UIViewController with an UITableView, and another put above with a modal transition without animation. To display the UITableView (my menu), I want to move my second UIViewController on the right.

我该怎么做?这是正确的方法吗?

How can I do that ? It is the right way ?

推荐答案

您需要的内容已作为模板提供.检查这个git..下载它..并玩弄它..

What you need is provided as a template. Check this git..download it..and play around with it..

https://github.com/pkluz/ZUUIRevealController

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

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