Skip to main content

image-attachment-composer-preview-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?