[英]How to get facebook like sliding menu without using third party files in ios?
I'm struck to implement it. 我为实现它而感到震惊。 I want to display a menu, which is already pushed into navigation controller.
我想显示一个菜单,该菜单已经推送到导航控制器中。 I know i have to use transition with animation method in which i have to increase the width from 0 to required value.
我知道我必须使用动画方法进行过渡,其中我必须将宽度从0增加到所需值。 But this is not helpful coz navigation controller takes care of presenting VC when we pop it.
但这无济于事,因为我们在弹出VC时会考虑呈现VC。 So how to implement it in ios?
那么如何在ios中实现呢?
Use a separate UIWindow
for the menu, so you do not interfere with the UINavigationController
. 为菜单使用单独的
UIWindow
,以免干扰UINavigationController
。
You can have the menu behind your content window and move the content window to make the menu visible. 您可以将菜单置于内容窗口的后面,并移动内容窗口以使菜单可见。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.