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`.
#
Initialize 123You can send the contact attachment by clicking the contact icon in the Chat screen of the user.
MFUIContactContentView
is extension view class of MFUIBaseMediaContentView
, which is used to display contact table view cell.
MFUIContactContentView
consists of contactIcon, and contactName
Property name | usage |
---|---|
contactIcon | UIImageView to show contact icon |
contactName | UILabel to describe the contact name |
#
Contact Cell ThemeCustom 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 Name | Class | Description |
---|---|---|
userMessageRightTextColor | MFMessageCellTheme | The text color of contact name in sent contact cell |
userMessageLeftTextColor | MFMessageCellTheme | The text color of contact name in received contact cell |
#
Customize MFUIStringSetThe 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 name | Description |
---|---|
Contact | A text that refers to text of contact in attachment bottom sheet |
#
Customize MFUIIconSetThe following table shows a customizable icon for document attachment.
Icon name | Description |
---|---|
ic_contact | An icon used to indicate contact icon in contact messase cell |