简体   繁体   中英

Gmail iOS Modal View Transition

Just wondering if anyone have tried to replicate the transition that is used for presenting modal views in Gmail iOS? It looks darn gorgeous and refreshing from the pop up from bottom animation.

在此处输入图片说明

Pretty sure you're referring to the push-back transition when displaying the modal view controller? If so, then it's the one that the National Geographic Park Guides app first introduced and someone has released their replica of it over on Github . This one is only a partial screen modal, but could be modified to mimic the full view that the Gmail app does.

How about using this? Detailed animation, there is a need to develop a little more. https://github.com/ucu072/HCPushBackAnimation

I created a UIViewController category to mimic this type of modal animation. It is called MFFadeBackModalAnimation . It wraps around the native API for presenting and dismissing view controllers so it should integrate well with your existing app.

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