Feedback
Colour:
You can customize the colors and properties of the Feedback section to match the look and feel of your application.
Image:
You can customize the feedback (happy, neutral, and sad) emojis by adding the custom images to the asset catalog of your Xcode project.
Note: Ensure to save the image using below respective names below.
- Sad Rating - "siq_feedback_rating_sad"
- Neutral Rating - "siq_feedback_rating_neutral"
- Happy Rating - "siq_feedback_rating_happy"
Feedback
Copied//Get baseTheme using ZohoSalesIQ.Theme.baseTheme
let customTheme = ZohoSalesIQ.Theme.baseTheme
//Customize properties in the customTheme instance as desired
customTheme.Feedback.backgroundColor = UIColor.white
customTheme.Feedback.primaryTextColor = UIColor.black
customTheme.Feedback.secondaryTextColor = UIColor.gray
customTheme.Feedback.skipButtonTextColor = UIColor.blue
customTheme.Feedback.submitButtonBackgroundColor = UIColor.blue
customTheme.Feedback.submitButtonTextColor = UIColor.white
customTheme.Feedback.feedbackTextFieldTintColor = UIColor.blue
customTheme.Feedback.feedbackPlaceholderTextColor = UIColor.lightGray
//Set the customized theme using ZohoSalesIQ.Theme.setTheme API
ZohoSalesIQ.Theme.setTheme(theme: customTheme)