Customizing chat UI basics
Table of contents
Overview
All customizable UI components enable the hosting app to apply some UI changes to the SDKs default implementations or replace them completely by custom components.
You can checkout an implementation example here.
In order to change and override provided SDK implementations and customizations, one need to provide his own changed ChatConfiguration
instance on ChatController.viewConfiguration
.
Configure Different UI Components
Under ChatController.viewConfiguration
which is the ChatConfiguration
many different UI components can be accessed and configured.
To see all supported configurable components open
ChatConfiguration.h
let config = Bold360AI.ChatConfiguration()
config.chatViewConfig.backgroundColor = UIColor.gray
config.systemMessageConfig.backgroundColor = UIColor.blue
config.chatViewConfig.hyperlinkColor = UIColor.red