PagedMediaItem

public protocol PagedMediaItem : UIView

Media item to be presented in the PagedMediaViewController.

  • Updates paused state depending on the transition status.

    Declaration

    Swift

    var paused: Bool { get set }
  • Whether the item is animated (video, gif, etc) or static (image, etc).

    Declaration

    Swift

    var isAnimated: Bool { get }
  • animatedItemSnapshotAtCurrentTime Default implementation

    Used in the last part of the dismissal transition for animated items (if not nil) for smooth effect. Defaults to nil.

    Default Implementation

    Declaration

    Swift

    var animatedItemSnapshotAtCurrentTime: UIImage? { get }
  • animatedItemControlsView Default implementation

    Controls for play/pause and scrubbing. Defaults to nil.

    Default Implementation

    Declaration

    Swift

    var animatedItemControlsView: UIView? { get }