In-App Notifications

You can customize the appearance of the In-App Notifications shown in the app when new messages are received.

​​

In-App Notification

Copied//Get baseTheme using ZohoSalesIQ.Theme.baseTheme
let customTheme = ZohoSalesIQ.Theme.baseTheme

//Customize properties in the customTheme instance as desired
customTheme.InAppNotification.titleColor = .black
customTheme.InAppNotification.subtitleColor = .gray
customTheme.InAppNotification.backgroundColor = .white
customTheme.InAppNotification.imageBackgroundColor = .gray
customTheme.InAppNotification.cornerRadius = 6
customTheme.InAppNotification.imageCornerRadius = 6

//Set the customized theme using ZohoSalesIQ.Theme.setTheme API
ZohoSalesIQ.Theme.setTheme(theme: customTheme)