Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

逐帧加载播放的序列帧动画,内存占用低,精度也较高。自测时间精度高于系统序列帧动画。

Notifications You must be signed in to change notification settings

justXyS/FrameAniamtionImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

FrameAniamtionImageView

逐帧加载播放的序列帧动画,内存占用低,精度也较高。自测时间精度高于系统序列帧动画。 Demo中动画有94帧,用系统播放误差有几秒,使用FrameAniamtionImageView误差在500ms以内。(PS:请用真机测试)


使用示例

[self.imageView makeKeyFrameWithContentsOfFiles:paths
 time:^MilliTime(int index, UIImage * _Nonnull image) {
 	return 100;
 } complement:^BOOL(int index) {
 return YES;
 }];

About

逐帧加载播放的序列帧动画,内存占用低,精度也较高。自测时间精度高于系统序列帧动画。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /