ViewController animation like zooming and zooming out

情到浓时终转凉″ 提交于 2019-12-07 02:16:51

问题


I have a CustomGridView with UIView for images, if i click on an image It should be show in another viewcontroller with Zoomin Transition (It should show like it comes out from the grid), when i closing that it should animate like it goes back to the same place like Zoomout effect,

I searched for this i unable to find the library that suited my needs, can somebody suggest how can i achieve this


回答1:


Looks like you are searching for JTSImageViewController

See:
https://github.com/jaredsinclair/JTSImageViewController




回答2:


I have just created an example project for you.

https://github.com/khuong291/100DaysOfSwift (Project 53)

Hope this help.



来源:https://stackoverflow.com/questions/36956332/viewcontroller-animation-like-zooming-and-zooming-out

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!