Inherits from UIImageView
Declared in BXUAttachmentImageView.h

Overview

Convenience subclass of UIImageView to work with the message’s attachments. It can be set to show the message’s thumbnail or to show an image attached to the message.

Properties

delegate

The delegate to be notified when the imageview has been tapped. For details about the methods that can be implemented by the delegate, see BXUAttachmentImageViewDelegate Protocol Reference.

@property (nullable, weak, nonatomic) id<BXUAttachmentImageViewDelegate> delegate

Declared In

BXUAttachmentImageView.h

message

Reference to the message linked to the sender.

@property (nullable, strong, nonatomic, readonly) Bit6Message *message

Declared In

BXUAttachmentImageView.h

Instance Methods

setMessage:thumbnailMode:

Sets the message for the sender.

- (void)setMessage:(Bit6Message *)message thumbnailMode:(BOOL)thumbnailMode

Parameters

message

message with an attachment to display.

thumbnailMode

if YES the sender will display the thumbnail for the message. If NO the sender will show the image attached to the message.

Declared In

BXUAttachmentImageView.h