ViewController 动画,如缩放和缩小 [英] ViewController animation like zooming and zooming out

查看:33
本文介绍了ViewController 动画,如缩放和缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 CustomGridViewUIView 用于图像,如果我点击图像它应该显示在另一个带有 Zoomin Transition 的视图控制器中(它应该显示出来从网格中),当我关闭它应该动画,就像它回到同一个地方一样缩放效果,

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

推荐答案

看起来你正在寻找 JTSImageViewController

Looks like you are searching for JTSImageViewController

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

这篇关于ViewController 动画,如缩放和缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆