简体   繁体   中英

How does Airbnb(iOS) implement the menu effects

Left menu layout

I think it's possible to use UICollectionView, but one page of menu is center-layouted and has animations and it can circle slide

Left menu Animcation

While dragging the left menu, it has effects like text zooming out and text gap getting bigger. It's made by UIDynamicAnimator, because Airbnb is compatible with iOS6

How will you implement it if you were developing the app?

Check out https://github.com/taphuochai/PHAirViewController . It is a very nice implementation of the Airbnb style menu navigation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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