关键帧动画内存优化
An engine to display image frames in animation without causing high-memory usage.
-
Add these lines below to your Podfile
platform :ios, 'xxx' target 'xxx' do pod 'TTKeyFrameAnimationView', '~> 1.0.0' end
-
Install the pod by running
pod install
#import <CCKeyFrameAnimationView.h>
然后就可以当成imageView来展示帧动画了。 具体看demo