Contact Attachment

Note : If Contact Attachment feature unavailable for your plan then it will not display in MFUIActionSheetItem.

Note : Add Contact usage description in Info.plist`.

docAttachment

Initialize 123#

You can send the contact attachment by clicking the contact icon in the Chat screen of the user.

docAttachment docAttachment

MFUIContactContentView is extension view class of MFUIBaseMediaContentView, which is used to display contact table view cell. MFUIContactContentView consists of contactIcon, and contactName

Property nameusage
contactIconUIImageView to show contact icon
contactNameUILabel to describe the contact name

Contact Cell Theme#

Custom theme Class MFMessageCellTheme subclass of MFUITheme is used to change the theme of contact cell.

The following table shows a customizable property of MFMessageCellTheme to set font and colors in contact cell.

property NameClassDescription
userMessageRightTextColorMFMessageCellThemeThe text color of contact name in sent contact cell
userMessageLeftTextColorMFMessageCellThemeThe text color of contact name in received contact cell

Customize MFUIStringSet#

The following table shows a customizable property of MFUIStringSet that appears for contact attachment. The MFUIStringSet is a set of strings used to compose a view. You need to modify the stringSet values in advance if you want to make changes to the view.

Property nameDescription
ContactA text that refers to text of contact in attachment bottom sheet

Customize MFUIIconSet#

The following table shows a customizable icon for document attachment.

Icon nameDescription
ic_contactAn icon used to indicate contact icon in contact messase cell