Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The version selector is temporarily unavailable. Open any version directly →
iOS
Text Bubble — CometChat documentation.
CometChatTextBubble
set(text: String)
set(style: TextBubbleStyle)
TextBubbleStyle
set(titleFont: UIFont)
set(titleColor: UIColor)
set(background: UIColor)
set(borderColor: UIColor)
set(borderWidth: CGFloat)
set(cornerRadius: CometChatCornerStyle)
//create text bubble style object let textBubbleStyle = TextBubbleStyle() //modify the style properties textBubbleStyle.set(titleColor: .black) textBubbleStyle.set(titleFont: UIFont.systemFont(ofSize: 12.0)) textBubbleStyle.set(background: .blue) textBubbleStyle.set(borderColor: .blue) textBubbleStyle.set(borderWidth: 2.0) textBubbleStyle.set(cornerRadius: CometChatCornerStyle(cornerRadius: 5.0)) //set style to the text bubble object textBubble.set(style: textBubbleStyle)
Was this page helpful?