Skip to main content

DefaultAttachmentPreviewProvider

Default provider that is used when AttachmentPreviewProvider is not implemented for custom attachment payload. This provider always returns a new instance of AttachmentPlaceholderView.

public struct DefaultAttachmentPreviewProvider: AttachmentPreviewProvider 

Inheritance

AttachmentPreviewProvider

Properties

preferredAxis

public static var preferredAxis: NSLayoutConstraint.Axis 

Methods

previewView(components:)

public func previewView(components: Components) -> UIView 

Did you find this page helpful?