AnimatedImageView
open class AnimatedImageView: UIImageView
AnimatedImageView
is a subclass of UIImageView
for displaying animated image.
-
Enumeration that specifies repeat count of GIF
See moreDeclaration
Swift
public enum RepeatCount: Equatable
-
Whether automatically play the animation when the view become visible. Default is true.
Declaration
Swift
public var autoPlayAnimatedImage = true
-
The size of the frame cache.
Declaration
Swift
public var framePreloadCount = 10
-
Specifies whether the GIF frames should be pre-scaled to save memory. Default is true.
Declaration
Swift
public var needsPrescaling = true
-
The animation timer’s run loop mode. Default is
NSRunLoopCommonModes
. Set this property toNSDefaultRunLoopMode
will make the animation pause during UIScrollView scrolling.Declaration
Swift
public var runLoopMode = RunLoopMode.commonModes
-
The repeat count.
Declaration
Swift
public var repeatCount = RepeatCount.infinite
-
Delegate of this
AnimatedImageView
object. SeeAnimatedImageViewDelegate
protocol for more.Declaration
Swift
public weak var delegate: AnimatedImageViewDelegate?
-
Undocumented
Declaration
Swift
open class AnimatedImageView: UIImageView
-
Undocumented
Declaration
Swift
open class AnimatedImageView: UIImageView
-
Starts the animation.
Declaration
Swift
override open func startAnimating()
-
Stops the animation.
Declaration
Swift
override open func stopAnimating()
-
Undocumented
Declaration
Swift
open class AnimatedImageView: UIImageView
-
Undocumented
Declaration
Swift
open class AnimatedImageView: UIImageView
-
Undocumented
Declaration
Swift
open class AnimatedImageView: UIImageView