PagedMediaItem
@MainActor
public protocol PagedMediaItem : UIView
Media item to be presented in the PagedMediaViewController.
-
Updates paused state depending on the transition status.
Declaration
Swift
@MainActor var paused: Bool { get set } -
Whether the item is animated (video, gif, etc) or static (image, etc).
Declaration
Swift
@MainActor var isAnimated: Bool { get } -
animatedItemSnapshotAtCurrentTimeDefault implementationUsed in the last part of the dismissal transition for animated items (if not
nil) for smooth effect. Defaults tonil.Default Implementation
Declaration
Swift
@MainActor var animatedItemSnapshotAtCurrentTime: UIImage? { get } -
animatedItemControlsViewDefault implementationControls for play/pause and scrubbing. Defaults to
nil.Default Implementation
Declaration
Swift
@MainActor var animatedItemControlsView: UIView? { get }
View on GitHub
Install in Dash