vicmaimageview
![](https://img.laitimes.com/img/__Qf2AjLwojIjJCLyojI0JCLiYWan5yM1IjM1MjMwQjNwIjM4AzLcJDM1EDMy8CXyQTN3AjNvw1ZvxmYvwVbvNmLn9GbiRXauNmLzV2Zh1Wavw1LcpDc0RHaiojIsJye.gif)
<a href="https://github.com/vitoziv/vicmaimageview" target="_blank">https://github.com/vitoziv/vicmaimageview</a>
change image view's content mode with your animation!
修改 imageview 的contentmode属性就有动画效果!
installation
cocoapods
<code>pod 'vicmaimageview', '~> 1.0'</code>
用cocoapods安装
pod 'vicmaimageview', '~> 1.0'
usage
use vicmaimageview like a uiimageview
就像使用uiimageview那样子来使用vicmaimageview
animate contentmode in animation block
在animation的block中赋值就可以看到动画效果了.
license
vicmaimageview is available under the mit license. see the license file for more info.
vicmaimageview遵循mit协议,你可以查看mit协议了解更多.