我想发挥Facebook应用程序的类似效果。 所以我想创建导航滑出效果。
但是当我将带有菜单的UIViewController放在父UIViewController下面的内容时,我移动父视图,我的菜单不显示。 我能看到的一切都是黑屏。 但菜单框架位于正确的位置。
任何消化我该怎么办?
内容视图将是单独的UIViewControllers。
I would like to make similar effect that Facebook app has. So I would like to create navigation slide-out effect.
But when I place UIViewController with menu beneath parent UIViewController with content and then I move parent view aside my menu doesnt show up. Everything I can see is black screen. But menu frame is in the right position.
Any sugestion what should I do?
Content view will be separate UIViewControllers.
最满意答案
我和你的情况相同,最后我使用了一个受FaceBook和Wunderlist应用程序启发的自定义类,并且很容易添加到项目中: https : //github.com/John-Lluch/SWRevealViewController
I was in the same situation than you and finally I used a custom class which is inspired on FaceBook and Wunderlist apps and is really simple to add into the project: https://github.com/John-Lluch/SWRevealViewController
更多推荐
发布评论