Overview
CometChatActionSheet is a component which present list of options in a list mode as well as grid mode as per the user’s choice. By default, CometChatActionSheet is an integral part of CometChatMessageComposer to deliver multiple types of media as well as custom messages.
Components
CometChatActionSheet mainly consist of below components: 1 . CometChatActionItemMethods
Set Action Items
This method is used to render the list of action items to be displayed in action sheet.- Swift
Set Layout Mode
This method is used to set the default layout for the action sheet. It takes the enum LayoutMode which has two cases.- List Mode
- Grid Mode
- Swift
Set ActionSheetStyle
User can style the action sheet with the help of properties provided by theActionSheetStyle.
- Swift