Skip to main content

Style your SDK

Diyalog SDK provides custom Diyalog style to your application, using Diyalog style customer can create own styled screen.

How to use custom style?#

First create object of DiyalogStyle class from your application class, and using that object you can access all property of DiyaLogStyle class.

  • Diyalog style is optional. If customer don't wants to use custom style then SDK will use default style

Sample code:#

var style: DiyalogStyle { return DiyalogEngine.diyalogInstance().style };
style.chatBgColor = .white

More options?#

Followings are styles parameters with the help of those parameters User can configure style within their Application:

Dark mode#

Set Main App in Dark Mode

DiyalogEngine.diyalogInstance().style.setisDarkApp(true)

Common View style#

Change all bacground colors in Diyalog SDK screens.

DiyalogEngine.diyalogInstance().style.setvcBgColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))
DiyalogEngine.diyalogInstance().style.setvcBackyardColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))
DiyalogEngine.diyalogInstance().style.setvcDefaultBackgroundColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))

Diyalog TabBar Color#

// Sets the UITabBarItem background on the messages screen and the input field backgrounds on the chat screen
DiyalogEngine.diyalogInstance().style.setvcPanelBgColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))

Colors in Diyalog Views#

Text color in views#

DiyalogEngine.diyalogInstance().style.setvcTextColor(.white)

Tint color in views#

This setting change all active text colors like:

  • Color of all buttons and action buttons
  • Selected UITabBarItem text color (if not set indiviudally)
  • All UITable title and text colors (if not set indiviudally)
  • Read Status tick color (if not set indiviudally)
  • User presense status info color (if not set indiviudally)
DiyalogEngine.diyalogInstance().style.setvcTintColor(UIColor(rgb: 0x5085cb))

Hint color in views#

This setting change secondary and passive text colors in views like :

  • texts other than main texts (hint, label, date, pssive status informations.)
  • Not selected UITabBarItem text color (if not set indiviudally)
  • All UITable secondary elements text colors (if not set indiviudally)
  • Send, delivered Status tick color (if not set indiviudally)
  • Date text in Dailog lists (if not set indiviudally)
DiyalogEngine.diyalogInstance().style.setvcHintColor(UIColor(red: 164 / 255.0, green: 164 / 255.0, blue: 164 / 255.0, alpha: 1))

Separator color#

DiyalogEngine.diyalogInstance().style.setvcSeparatorColor(.white)

Selected Items color#

This setting set color for all selected items in views.

DiyalogEngine.diyalogInstance().style.setvcSelectedColor(.darkGray)

Switch buttons colors#

DiyalogEngine.diyalogInstance().style.setvcSwitchOff(UIColor(rgb: 0xe6e6e6))
DiyalogEngine.diyalogInstance().style.setvcSwitchOn(UIColor(rgb: 0x4bd863))

Navigation Bar#

Navigation Background colors#

DiyalogEngine.diyalogInstance().style.setnavigationBgColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))

Navigation Tint colors#

DiyalogEngine.diyalogInstance().style.setnavigationTintColor(.white)

Navigation Bar Style#

DiyalogEngine.diyalogInstance().style.setvcStatusBarStyle(.lightContent)

Navigation Title color#

DiyalogEngine.diyalogInstance().style.setnavigationTitleColor(.white)

Search Bars#

Search bar background color#

DiyalogEngine.diyalogInstance().style.searchBackgroundColor = UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0)

Search bar input field background#

DiyalogEngine.diyalogInstance().style.searchFieldBgColor = UIColor(red: 58.0 / 255.0, green: 65.0 / 255.0, blue: 85.0 / 255.0, alpha: 1.0)

Search bar text color#

DiyalogEngine.diyalogInstance().style.searchFieldTextColor = .white

Search bar cancel button color#

DiyalogEngine.diyalogInstance().style.searchCancelColor = UIColor(rgb: 0x5085cb)

Chat Screen Colors Settings#

Chat screen background color#

DiyalogEngine.diyalogInstance().style.setChatBgColor(UIColor(red: 19 / 255.0, green: 18.0 / 255.0, blue: 28.0 / 255.0, alpha: 1.0))

Received text message bubble background color#

DiyalogEngine.diyalogInstance().style.setchatTextBubbleInColor(UIColor(red: 58.0 / 255.0, green: 65.0 / 255.0, blue: 85.0 / 255.0, alpha: 1.0))

Received text message bubble border color#

DiyalogEngine.diyalogInstance().style.setchatTextBubbleInBorderColor(UIColor(red: 58.0 / 255.0, green: 65.0 / 255.0, blue: 85.0 / 255.0, alpha: 1.0))

Received text message text color#

DiyalogEngine.diyalogInstance().style.chatTextInColor(.white)

Received text message date color#

DiyalogEngine.diyalogInstance().style.setchatTextDateInColor(.lightGray)

Received media message bubble background color#

DiyalogEngine.diyalogInstance().style.setchatMediaBubbleInColor(UIColor(red: 32.0 / 255.0, green: 34.0 / 255.0, blue: 45.0 / 255.0, alpha: 1.0))

Received media message date background color#

DiyalogEngine.diyalogInstance().style.setchatMediaDateBgInColor(.blue)

Received media message date text color#

DiyalogEngine.diyalogInstance().style.setchatMediaDateInColor(.darkGray)

Received media message date text color#

DiyalogEngine.diyalogInstance().style.setchatMediaDateInColor(.darkGray)

Sent media message bubble background color#

DiyalogEngine.diyalogInstance().style.setchatMediaBubbleOutColor(UIColor(red: 75.0 / 255.0, green: 146.0 / 255.0, blue: 226.0 / 255.0, alpha: 1.0))

Sent text message bubble background color#

DiyalogEngine.diyalogInstance().style.setchatTextBubbleOutColor(UIColor(red: 75.0 / 255.0, green: 146.0 / 255.0, blue: 226.0 / 255.0, alpha: 1.0))

Sent text message bubble border color#

DiyalogEngine.diyalogInstance().style.setchatTextBubbleOutBorderColor(UIColor(red: 75.0 / 255.0, green: 146.0 / 255.0, blue: 226.0 / 255.0, alpha: 1.0))

Sent text message text color#

DiyalogEngine.diyalogInstance().style.chatTextOutColor = UIColor.white

Sent text message date color#

DiyalogEngine.diyalogInstance().style.setchatTextDateOutColor(UIColor(red: 242.0 / 255.0, green: 242.0 / 255.0, blue: 242.0 / 255.0, alpha: 1.0))

Sent media message date color#

DiyalogEngine.diyalogInstance().style.setchatMediaDateOutColor(UIColor(red: 242.0 / 255.0, green: 242.0 / 255.0, blue: 242.0 / 255.0, alpha: 1.0))

New messages Separator background color#

DiyalogEngine.diyalogInstance().style.setchatUnreadBgColor(UIColor(red: 58.0 / 255.0, green: 65.0 / 255.0, blue: 85.0 / 255.0, alpha: 1.0))

Service Messages bubble color#

DiyalogEngine.diyalogInstance().style.setchatServiceBubbleColor(UIColor(red: 58.0 / 255.0, green: 65.0 / 255.0, blue: 85.0 / 255.0, alpha: 1.0))

Voice message Slider Color#

DiyalogEngine.diyalogInstance().style.audioCellSliderLeftInColor = .lightGray
DiyalogEngine.diyalogInstance().style.audioCellSliderRightInColor = .darkGray
DiyalogEngine.diyalogInstance().style.audioCellSliderLeftOutColor = .white
DiyalogEngine.diyalogInstance().style.audioCellSliderRightOutColor = .darkGray

Message Status tick colors#

DiyalogEngine.diyalogInstance().style.chatStatusRead = UIColor(red: 127.0 / 255.0, green: 253.0 / 255.0, blue: 242.0 / 255.0, alpha: 1.0)
DiyalogEngine.diyalogInstance().style.chatStatusSent = UIColor.white
DiyalogEngine.diyalogInstance().style.chatStatusReceived = UIColor.white

Chat Actionsheet Settings#

Background color#

DiyalogEngine.diyalogInstance().style.setActionSheetBackgroundColor(UIColor.white)

Tint Colors#

DiyalogEngine.diyalogInstance().style.setActionSheetButtonTintColor(UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1))
DiyalogEngine.diyalogInstance().style.setActionSheetBackgroundColor(UIColor.clear)

Camera Button Colors#

DiyalogEngine.diyalogInstance().style.actionSheetButtonCameraTintColor = UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1)
DiyalogEngine.diyalogInstance().style.actionSheetButtonCameraBackgroundColor = UIColor.clear

Lirary Button Colors#

DiyalogEngine.diyalogInstance().style.actionSheetButtonLibraryTintColor = UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1)
DiyalogEngine.diyalogInstance().style.actionSheetButtonLibraryBackgroundColor = UIColor.clear

Location Button Colors#

DiyalogEngine.diyalogInstance().style.actionSheetButtonLocationTintColor = UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1)
DiyalogEngine.diyalogInstance().style.actionSheetButtonLocationBackgroundColor = UIColor.clear

Contact Button Colors#

DiyalogEngine.diyalogInstance().style.actionSheetButtonContactTintColor = UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1)
DiyalogEngine.diyalogInstance().style.actionSheetButtonContactBackgroundColor = UIColor.clear

Cancel Button Colors#

DiyalogEngine.diyalogInstance().style.actionSheetButtonCancelTintColor = UIColor(red: 5.0 / 255.0, green: 124.0 / 255.0, blue: 226.0 / 255.0, alpha: 1)
DiyalogEngine.diyalogInstance().style.actionSheetButtonCancelBackgroundColor = UIColor.red

Action Sheet Separator Colors#

Set all separator colors with

DiyalogEngine.diyalogInstance().style.setActionSheetSeparatorColor(UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6))

or you can set each action sheet separator colors individually

DiyalogEngine.diyalogInstance().style.actionSheetSeparator1Color = UIColor(red: 223.9 / 255.0, green: 223.9 / 255.0, blue: 223.9 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator2Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator3Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator4Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator4Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator5Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)
DiyalogEngine.diyalogInstance().style.actionSheetSeparator6Color = UIColor(red: 230.0 / 255.0, green: 230.0 / 255.0, blue: 230.0 / 255.0, alpha: 0.6)

Call Background Colors#

DiyalogEngine.diyalogInstance().style.setCallBackgroundColor(UIColor(red: 7.0 / 255.0, green: 78 / 255.0, blue: 154.0 / 255.0, alpha: 1.0))

Online Help Views Colors#

DiyalogEngine.diyalogInstance().style.setOnlineHelpNavigationBackgroundColor(UIColor(red: 18, green: 18, blue: 18))
DiyalogEngine.diyalogInstance().style.setOnlineHelpBackgroundColor(UIColor(red: 18, green: 18, blue: 18))
DiyalogEngine.diyalogInstance().style.setOnlineHelpNavigationBarTitleColor(.white)
DiyalogEngine.diyalogInstance().style.setOnlineHelpTextColor(.white)
DiyalogEngine.diyalogInstance().style.setOnlineHelpToolBarTitleImage(UIImage.bundled("toolbar_icon")!) // set toolbar icon, if you want
DiyalogEngine.diyalogInstance().style.setShowOnlineHelpAvatarImage(false) // disable agent avatar
DiyalogEngine.diyalogInstance().style.setOnlineHelpCustomAgentAvatarImg(UIImage.bundled("agent_icon")!) // set agent avatar image
DiyalogEngine.diyalogInstance().style.setOnlineHelpBackIcon(UIImage.bundled("back_icon")!) // set back icon in chat screen, if you want

Style configuration reference#

SDK version: The property reference and typography below apply to Diyalog iOS SDK v5.14.0 and later.

DiyalogStyle lets your app re-brand the SDK's chat, conversation list, support (Online Help), settings and profile screens without forking or rebuilding the SDK. Through one configuration object you control colors, backgrounds, message bubbles, status indicators and typography (font scale and family), applied consistently across every SDK screen.

Entry point#

All styling is configured through the public style field of the DiyalogEngine singleton:

let style = DiyalogEngine.diyalogInstance().style

DiyalogStyle is a plain configuration object with a variable for every property. There is no builder or commit step: each assignment takes effect immediately and is read by the SDK the next time the relevant screen or view renders.

When to apply styling#

Apply style configuration once, as early as possible: typically in AppDelegate's application(_:didFinishLaunchingWithOptions:), alongside the other Diyalog SDK initialization calls and before any SDK screen is shown. Properties can also be updated later; the change appears the next time an affected screen is drawn.

Default value inheritance#

Most properties do not need an explicit value. When left unset, many of them inherit from a small set of foundation colors, mainly vcBgColor, vcTintColor and the base text colors (vcTextColor, vcHintColor). Setting a few foundation properties therefore re-skins a large part of the SDK UI.

Foundation propertyTypically inherited by
vcTintColorNavigation icons, selected tabs, active statuses, send buttons and user online indicators
vcBgColorMain view controllers, token fields, cell backgrounds and composer backgrounds
vcTextColorDialog list titles, settings titles and chat messages
vcSeparatorColorList dividers across dialogs and contacts screens

Properties that do not inherit from a foundation color use a fixed SDK default, listed per property in the tables below.

Typography is applied automatically#

Once the typography properties (customFontFamily, globalFontSizeScale) are set on DiyalogStyle, the SDK applies them to every text view it renders: chat bubbles, dialogs and list screens. Your app does not need to call any typography utility.

Getting started#

Minimal example: re-brand with a single primary color in your AppDelegate:

import UIKit
import DiyalogEngine
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let style = DiyalogEngine.diyalogInstance().style
// Foundation Colors
style.vcTintColor = UIColor(red: 0/255.0, green: 126/255.0, blue: 229/255.0, alpha: 1)
style.vcBgColor = UIColor.white
// ... continue with standard Diyalog SDK initialization
return true
}
}

A more complete example, overriding chat and support-screen colors individually:

let style = DiyalogEngine.diyalogInstance().style
style.vcTintColor = UIColor(red: 0/255.0, green: 126/255.0, blue: 229/255.0, alpha: 1)
style.vcBgColor = UIColor.white
// Chat Bubbles
style.chatTextBubbleOutColor = UIColor(red: 32/255.0, green: 74/255.0, blue: 145/255.0, alpha: 1)
style.chatTextOutColor = UIColor.white
style.chatTextBubbleInColor = UIColor(red: 230/255.0, green: 244/255.0, blue: 255/255.0, alpha: 1)
style.chatTextInColor = UIColor(red: 18/255.0, green: 55/255.0, blue: 92/255.0, alpha: 1)
// Online Help (Support)
style.onlineHelpNavigationBackgroundColor = UIColor(red: 0/255.0, green: 126/255.0, blue: 229/255.0, alpha: 1)
style.onlineHelpNavigationBarTitleColor = UIColor.white
style.onlineHelpBackgroundColor = UIColor.white
style.onlineHelpTextColor = UIColor(red: 18/255.0, green: 55/255.0, blue: 92/255.0, alpha: 1)
// Typography
style.globalFontSizeScale = 1.0
style.customFontFamily = "HelveticaNeue"

Property reference#

The tables below list the configurable DiyalogStyle properties, grouped by the screen area they affect. Assign values directly to the property on the style object.

Brand and global colors#

PropertyTypeDefaultDescription
vcTintColorUIColor#5085cbPrimary brand color. Used for actions, tabs and navigation items.
vcBgColorUIColor#FFFFFFApplication-wide default background color.
vcDestructiveColorUIColorUIColor.redAccent (destructive-style) color.
navigationBgColorUIColor#F7F7F7Navigation bar / header background color.
navigationTintColorUIColor#5085cbNavigation bar icon color.
navigationTitleColorUIColor#000000 (87% alpha)Navigation bar title color.
vcBackyardColorUIColor#EEEEEESecondary background panel (used in settings).
vcStatusBarStyleUIStatusBarStyle.defaultiOS status bar style.

Base text and divider colors#

These foundation colors are used directly and are also the fallback for several screen-specific text colors.

PropertyTypeDefaultDescription
vcTextColorUIColor#000000 (87% alpha)Main text color of the app.
vcHintColorUIColor#A4A4A4Secondary / hint / placeholder text color.
vcSectionColorUIColor#5B5A60Header / footer text color in lists.
vcSeparatorColorUIColor#D4D4D4UITableView separator color and borders.
vcSelectedColorUIColor#D9D9D9UITableViewCell selected-state background.

Conversation list (dialogs screen)#

PropertyDefaultDescription
dialogTitleColorInherits vcTextColorContact / group name.
dialogTextColorInherits dialogTitleColor (64% alpha)Last-message preview text.
dialogDateColorInherits vcHintColorLast-message timestamp.
dialogTextActiveColorInherits vcTextColor"Typing..." indicator or active-state text.
dialogCounterBgColor#50A1D6Unread-count badge background.
dialogCounterColor#FFFFFFUnread-count badge text.
dialogStatusActiveInherits chatStatusActiveRead message-state icon in the list.
dialogStatusPassiveInherits chatStatusPassiveSent / delivered message-state icon.

Chat / conversation screen#

PropertyDefaultDescription
chatBgColor#E7E0C4 (pattern image)Base chat background color or pattern.
chatTextBubbleOutColor#D2FEFDOutgoing message bubble background.
chatTextBubbleOutBorderColor#99E4E3Outgoing message bubble border.
chatTextOutColorchatTextColorOutgoing message text color.
chatTextBubbleInColor#FFFFFFIncoming message bubble background.
chatTextBubbleInBorderColor#CCCCCCIncoming message bubble border.
chatTextInColorchatTextColorIncoming message text color.
chatTextDateOutColor#000000Outgoing in-bubble timestamp color.
chatTextDateInColor#979797Incoming in-bubble timestamp color.
chatDateBubbleColor#2D394ADate-separator label background.
chatDateTextColor#FFFFFFDate-separator label text color.

Text message delivery-state colors#

PropertyDefaultDescription
chatStatusPassiveInherits vcHintColorSent / delivered icon on outgoing messages.
chatStatusActiveInherits vcTintColorRead (seen) icon on outgoing messages.
chatStatusDangerInherits vcDestructiveColorFailed-to-send or error icon.

Media message delivery-state colors#

Equivalent state colors drawn over image, video and location message thumbnails.

PropertyDefaultDescription
chatMediaDateBgInColor#2D394ATimestamp background over incoming media.
chatMediaDateBgOutColor#2D394ATimestamp background over outgoing media.
chatStatusMediaPassive#FFFFFFSent / delivered icon over media.
chatStatusMediaActive#2ED3FD (chatReadMediaColor)Read icon over media.
chatStatusMediaDangerInherits chatStatusDangerFailed icon over media.

Message composer (send panel)#

PropertyDefaultDescription
chatInputFieldBgColorInherits vcPanelBgColorComposer outer container background.
chatAttachColorInherits vcTintColorAttachment (+) icon color.
chatSendColorInherits vcTintColorSend button color when enabled.
chatSendDisabledColorInherits vcTintColor (64% alpha)Send button color when disabled.
microphoneButtonColor#4B92E2Microphone / voice record button color.

Online Help (support chat)#

PropertyDefaultDescription
onlineHelpNavigationBackgroundColor#FFFFFFSupport-chat navigation bar background.
onlineHelpBackgroundColor#FFFFFFSupport-chat screen background.
onlineHelpNavigationBarTitleColor#074E9ASupport-chat navigation bar title color.
onlineHelpTextColor#074E9ASupport-chat message text color.
showOnlineHelpAvatarImagetrueWhether the support agent's avatar is shown.
onlineHelpCustomAgentAvatarImgagent_iconCustom placeholder avatar for the support agent.
onlineHelpToolBarTitleImagenilLogo / image shown in the navigation bar instead of a text title.
onlineHelpWaitOnErrorImagenilIllustration shown if connecting to an agent fails.

Settings, profile, group and contacts screens#

PropertyDefaultDescription
contactTitleColorInherits vcTextColorAlphabetical fast-scroll index letter.
avatarLightBlueMultiple presetsPresets for default user avatars.
userOnlineColorInherits vcTintColorOnline-status indicator in lists.
userOfflineColorInherits vcTextColor (54% alpha)Offline-status indicator in lists.

Typography#

Typography properties apply globally to SDK-rendered text and take effect automatically. No per-screen wiring is needed in your app.

PropertyTypeDefaultDescription
globalFontSizeScaleCGFloat1.0Global text-size multiplier applied on top of each view's own text size.
customFontFamilyString?nilGlobal font family name (e.g. "HelveticaNeue"). Use the PostScript name of your font for bundled .ttf / .otf files, or a valid system font name.

Reference implementation#

The Diyalog iOS sample app shows a full styling setup driven by UserDefaults, so brand properties can be switched at runtime (for example for testing) and are loaded at app launch. In AppDelegate.swift:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// ... initialize SDK
// Apply custom typography from user settings
let defaults = UserDefaults.standard
if let customFont = defaults.string(forKey: "customFontFamily"), !customFont.isEmpty {
DiyalogEngine.diyalogInstance().style.customFontFamily = customFont
} else {
DiyalogEngine.diyalogInstance().style.customFontFamily = nil
}
let fontScale = defaults.float(forKey: "globalFontSizeScale")
if fontScale > 0 {
DiyalogEngine.diyalogInstance().style.globalFontSizeScale = CGFloat(fontScale)
} else {
DiyalogEngine.diyalogInstance().style.globalFontSizeScale = 1.0
}
return true
}

This keeps styling declarative. In production apps these values usually come from a remote configuration or a hard-coded brand configuration struct before being mapped into DiyalogEngine.diyalogInstance().style.

Custom layouts#

DiyalogStyle controls colors and text styling of the existing SDK screens. To replace a UI structure entirely, such as presenting SDK alerts with your own view controller, see Custom Layouts. Most integrations only need DiyalogStyle.

Best practices#

  • Start with the foundation colors (vcTintColor, vcBgColor, vcTextColor, vcHintColor). Through inheritance they cover most SDK screens before any screen-specific override is needed.
  • Apply styling once, early in AppDelegate's didFinishLaunchingWithOptions, before any SDK view controller is created, so the style loads correctly without a visible restyle flash.
  • Custom font families: when using customFontFamily with a bundled font (.ttf / .otf), add the font to your Xcode project, include it in the target's "Copy Bundle Resources", and register it in Info.plist under UIAppFonts ("Fonts provided by application"). Pass the exact PostScript name to customFontFamily.
  • Re-test message delivery-state colors (pending / sent / delivered / read / error) after any rebrand. They are functional status indicators, not just decoration, and must stay visually distinct.
  • Typography changes (globalFontSizeScale, customFontFamily) apply globally; check them against the longest strings in your supported languages to avoid truncation.

For styling properties not covered here, or to request an extension of the DiyalogStyle API for a specific branding need, contact the Diyalog SDK integration team.