Skip to product menu
Skip to main content

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"

Example

Copied// Create a new theme instance using SIQTheme
const customTheme = new SIQTheme();

// Customize properties in the customTheme instance as desired
customTheme.Feedback.backgroundColor = "#FFFFFF"
customTheme.Feedback.primaryTextColor = "#000000"
customTheme.Feedback.secondaryTextColor = "#808080"
customTheme.Feedback.skipButtonTextColor = "#0000FF"
customTheme.Feedback.submitButtonBackgroundColor = "#0000FF"
customTheme.Feedback.submitButtonTextColor = "#FFFFFF"
customTheme.Feedback.feedbackTextFieldTintColor = "#0000FF"
customTheme.Feedback.feedbackPlaceholderTextColor = "#D3D3D3"

// Set the customized theme using ZohoSalesIQ.setThemeForiOS API
ZohoSalesIQ.setThemeForiOS(customTheme);