Skip to main content

ImageAttachmentComposerPreview

A view that displays image attachment preview in composer.

open class ImageAttachmentComposerPreview: _View, ThemeProvider 

Inheritance

_View, ThemeProvider

Properties

width

open var width: CGFloat = 100

height

open var height: CGFloat = 100

content

Local URL of the image preview to show.

public var content: URL? 

imageView

The image view that displays the image of the attachment.

open private(set) lazy var imageView: UIImageView = UIImageView()
.withoutAutoresizingMaskConstraints

Methods

setUpAppearance()

override open func setUpAppearance() 

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent() 

Did you find this page helpful?