To change how a chat screen looks like, you can use one of the three methods. They will return the instance of HCSTheme, which you can configure in any way you want.
HelpCrunch.h
+ (HCSTheme *)lightTheme;
+ (HCSTheme *)darkTheme;
Default Light theme:
Dark theme:
After you make all necessary changes you want, use + (void)bindTheme:(HCSTheme *)theme; to apply your custom theme to the SDK. For instance:
ObjC:
HCSTheme *theme = [HelpCrunch lightTheme];
theme.chatArea.dateColor = [UIColor redColor];
[HelpCrunch bindTheme:theme];
Swift:
let theme = HelpCrunch.lightTheme()
theme.chatArea.dateColor = UIColor.red
HelpCrunch.bindTheme(theme)