简体   繁体   English

滑出菜单,例如eBay iOS应用

[英]Slide Out menu like eBay iOS app

Does anyone know what method eBay use for their slide out menu in their latest iOS app - for the search filter? 有谁知道eBay在其最新的iOS应用程序中使用哪种方法进行滑出菜单-搜索过滤器?

The side menu comes out and is actually on top of the main view and shows its left edge as well (It slides out from the right of the screen. ) 出现侧面菜单,它实际上位于主视图的顶部,并且也显示其左侧边缘(它从屏幕右侧滑出。)

I am also not sure if they are just using a UIView or a actually UIViewController 我也不确定他们是在使用UIView还是实际上是UIViewController

Would really appreciate it if someone can give me some pointers here. 如果有人可以在这里给我一些指导,我将不胜感激。

I eventually solved this problem. 我终于解决了这个问题。

Found a github project that has the UIViewController in UIWindow and it was a slide out menu. 找到了一个在UIWindow中具有UIViewController的github项目,它是一个滑出菜单。 Only issue was that it was coming out from the left instead of the right. 唯一的问题是它是从左侧而不是右侧出来的。

GitHub Link: https://github.com/mobivery/MVYSideMenu GitHub链接: https : //github.com/mobivery/MVYSideMenu

Following this SO question: MVYSideMenu - menu on right? 遵循以下SO问题: MVYSideMenu-菜单在右边吗?

Myself and @Harsh managed to edited it to a working solution. 我自己和@Harsh设法将其编辑为有效的解决方案。

Here is the same library modified to work from the right only. 这是修改为仅从右开始使用的同一库。 Along with working pan gestures: 随着工作平移手势:

https://github.com/TanderZA/MVYSideMenu https://github.com/TanderZA/MVYSideMenu

With some small tweaks, its 99% to what I needed. 进行一些细微的调整,即可满足我的需要,达到99%。

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

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