简体   繁体   English

ios:如何实现滑出菜单的导航?

[英]ios: How to implement navigation of a slide out menu?

So far I have been working with NavigationController. 到目前为止,我一直在使用NavigationController。 It's great for hierarchical navigation. 这对于分层导航非常有用。

But, how do I implement a slide out menu that exists on every page, and is able to jump to any page? 但是,如何实现每个页面上都存在的并且可以跳转到任何页面的滑出菜单? Not caring about the design, I guess we would need to load/unload xib files manually to the superview? 不关心设计,我想我们需要手动将xib文件加载/卸载到Superview吗?

Is this a good practice? 这是一个好习惯吗?

Probably the best way to get you going is to implement/check some of the already developed open source solutions. 可能最好的方法是实施/检查一些已经开发的开源解决方案。

Please, check out: MMDrawerController which is a simpler version and MSDynamicsDrawerViewController which is a bit more complicated (to develop) because it uses iOS 7 Dynamics. 请检查: MMDrawerController是一个简单的版本, MSDynamicsDrawerViewController则稍微复杂一些(开发),因为它使用iOS 7 Dynamics。

Cheers. 干杯。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM