Skip to main content

LinkAttachmentViewInjector

View injector for showing link attachments.

@available(iOSApplicationExtension, unavailable)
open class LinkAttachmentViewInjector: AttachmentViewInjector

Inheritance

AttachmentViewInjector

Properties

linkPreviewView

open private(set) lazy var linkPreviewView = contentView
.components
.linkPreviewView
.init()
.withoutAutoresizingMaskConstraints

Methods

contentViewDidLayout(options:)

override open func contentViewDidLayout(options: ChatMessageLayoutOptions) 

contentViewDidUpdateContent()

override open func contentViewDidUpdateContent() 

handleTapOnAttachment()

Triggered when attachment is tapped.

@objc
open func handleTapOnAttachment()

Did you find this page helpful?