Skip to main content

chat-message-gallery-view.uploading-overlay-properties

content

public var content: AttachmentUploadingState? 

didTapActionButton

public var didTapActionButton: (() -> Void)?

minBottomContainerHeight

open var minBottomContainerHeight: CGFloat = 24

actionButton

public private(set) lazy var actionButton: AttachmentActionButton = components
.attachmentActionButton.init()
.withoutAutoresizingMaskConstraints

loadingIndicator

public private(set) lazy var loadingIndicator: ChatLoadingIndicator = components
.loadingIndicator.init()
.withoutAutoresizingMaskConstraints

uploadingProgressLabel

public private(set) lazy var uploadingProgressLabel: UILabel = UILabel()
.withoutAutoresizingMaskConstraints
.withBidirectionalLanguagesSupport
.withAdjustingFontForContentSizeCategory

bottomContainer

public private(set) lazy var bottomContainer = ContainerStackView()
.withoutAutoresizingMaskConstraints

Methods

layoutSubviews()

override open func layoutSubviews() 

setUp()

override open func setUp() 

setUpAppearance()

override open func setUpAppearance() 

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent() 

handleTapOnActionButton(_:)

@objc open func handleTapOnActionButton(_ button: AttachmentActionButton)

Did you find this page helpful?