动画
lottie 动画,直接将动画转成json,直接加载json就行
https://github.com/airbnb/lottie-ios
self.deleteView.hidden = NO;
[UIView animateWithDuration:0.25 animations:^{
self.deleteView.transform = CGAffineTransformTranslate( self.deleteView.transform, 0, - self->_deleteViewHeight);
} completion:^(BOOL finished) {
}];
网友评论