Chat UIKit iOS UIKit v3
Chat UIKit iOS UIKit
Chat UIKit
iOS UIKit
Version 3

Icon resources

Copy link

The SBUIconSet class contains icons that are used to compose views in UIKit. The following table shows all properties of SBUIconSet.

Note : We recommend that you override the values of SBUIconSet prior to creating views.

IconImageDescription

iconAdd

Adds a file.

iconBack

Goes back to the previous page after exiting a view controller.

iconBan

Indicates banned users.

iconCamera

Opens the user's camera app.

iconChat

Indicates that there are no channels.

iconCheckboxChecked

Indicates that a check box has been selected.

iconCheckboxUnchecked

Indicates that a check box hasn't been selected.

iconChevronDown

Directs the user to the latest message.

iconChevronRight

Directs the user to the member list.

iconClose

Closes a file viewer.

iconCopy

Copies a message.

iconCreate

Creates a channel.

iconDelete

Deletes an item.

iconDocument

Indicates a file.

iconDone

Indicates that a message has been sent by the current user but not necessarily delivered to every member.

iconDoneAll

Indicates that a message has been either read or delivered to all members of a channel.

iconDownload

Downloads a file to the user's mobile app.

iconEdit

Edits a message.

iconEmojiMore

Shows more emojis.

iconError

Indicates an error in channel list.

iconFileAudio

Indicates an audio file.

iconFileDocument

Indicates a document file.

iconFreeze

Freezes a channel.

iconGif

Indicates a GIF file.

iconInfo

Shows channel information.

iconLeave

Leaves a channel.

iconMembers

Shows channel members.

iconMessage

Indicates that there are no messages.

iconModerations

Shows Moderation options.

iconMore

Shows more options.

iconMute

Mutes notifications in a channel.

iconNotifications

Indcates the notifications icon in channel settings.

iconNotificationFilled

Turns on notifications by swiping the icon in channel list.

iconNotificationOffFilled

Mutes notifications by swiping the icon in channel list.

iconOperator

Indicates the channel operator.

iconPhoto

Indicates the user's photo library.

iconPlay

Plays a video file message.

iconPlus

Invites a user to a channel from a user list.

iconQuestion

Indicates an error in loading emojis.

iconRefresh

Retries connection with Sendbird server.

iconRemove

Clears the text field in message search bar.

iconReply

Replies to a message in the channel.

iconReplied

Indicates that a user replied to another user's message.

iconSearch

Indicates the message search feature.

iconSend

Sends a message to the channel.

iconSpinner

Indicates that a message or a screen is loading.

iconSupergroup

Indicates a Supergroup channel.

iconThumbnailNone

Indicates a blank image.

iconUser

Indicates the default profile image of a user.

Customize the icon set

Copy link

The following code shows the basic examples of how to customize SBUIconSet.

SBUIconSet.iconPhoto = {CUSTOM_IMAGE}
SBUIconSet.iconChat = {CUSTOM_IMAGE}

Sendbird UIKit finds the tint color options from themes to apply to the customized icon image. If you want to ignore tint color options for all customized icon images used in Sendbird UIKit, set isTintColorEnabledForCustomizedIcon to false.

SBUGlobals.isTintColorEnabledForCustomizedIcon = false // Do not use tint color by Sendbird UIKit for Chat. The default is `true`

Note : SBUGlobals.isTintColorEnabledForCustomizedIcon is available for Sendbird UIKit for Chat 3.5.2 or later

The sizes of all icons are managed by Sendbird UIKit for Chat with appropriate size options. If you don't want to resize customized icon images, set isCustomizedIconResizable to false.

SBUGlobals.isCustomizedIconResizable = false // Never resize. The default is `true`

Note : SBUGlobals.isCustomizedIconResizable is available for Sendbird UIKit for Chat 3.5.2 or later