TuSDKICGifView Class Reference

Inherits from UIImageView
Declared in TuSDKICGifView.h

Overview

Gif组件

  delegate

动画播放事件委托

@property (nonatomic, weak) id<TuSDKPFGifViewDelegate> delegate

Declared In

TuSDKICGifView.h

  autoPlay

自动播放动画 (默认: true)

@property (nonatomic, assign) BOOL autoPlay

Declared In

TuSDKICGifView.h

  frameCount

总帧数

@property (nonatomic, readonly) NSUInteger frameCount

Declared In

TuSDKICGifView.h

  runloopMode

动画默认使用的runloop 模式,默认: NSRunLoopCommonModes

@property (nonatomic, copy) NSString *runloopMode

Discussion

Set this property to NSDefaultRunLoopMode will make the animation pause during UIScrollView scrolling.

Declared In

TuSDKICGifView.h

  currentFrameIndex

当前帧

@property (nonatomic, assign) NSUInteger currentFrameIndex

Declared In

TuSDKICGifView.h

– resetAnimation

停止动画并重置播放状态

- (void)resetAnimation

Declared In

TuSDKICGifView.h