![]() ![]() Go to Build Phases → Copy Bundle Resources → Add the file using + icon. Add this file to your project's bundle resources.Make desired changes in your custom file ist file.Make a copy of ist and rename it to your preferred name, for eg ist.Navigate to the HelpshiftCustomThemes folder.This API supports OS level Dark Appearance toggle to switch between the two provided themes, You can specify both light and dark variants of your custom Helpshift theme and Helpshift SDK will switch themes as per OS level theme. Static void setThemes(const char *lightThemeFileName, const char *darkThemeFileName) If your app allows users to change theme at runtime (for eg using a Theme Change menu or Dark Mode switch), Please use the following APIs If your app wants to change both light and dark themes at runtime, use the following API: Helpshift SDK allows following ways to customize the theme: ![]() ![]() Helpshift comes with four default skinning configurations. Theming and Skinning Default Skinning Configurations If you want to change strings used in the SDK's UI or want to translate them as per device language, see String Customization. It is done via simple key-value pairs in a plist file. Head over to Theming and Skinning if you want to customize your SDK integration's typeface, colors or background images. In order to use the UIAppearance value, the app must leave the corresponding entry in the plist blank. However if there is a conflicting property, then the value in ist will take precedence.įor example: If the app uses UIAppearance to change the colour of Navigation Bar title and also specifies a colour for the same property in the ist file, then the value in plist will be used. UIAppearance customisations are applied to Helpshift SDK by default. ![]()
0 Comments
Leave a Reply. |