#### The iOS SDK supports the customization of colors, buttons and strings used in the SDK flow. - [Localization](#localization) - [Custom Organization Details](#custom-organization-details) - [UI customization](#ui-customization) ## Localization The MyID iOS SDK supports translations for the following languages - Uzbek (uz) ๐Ÿ‡บ๐Ÿ‡ฟ - English (en) ๐Ÿ‡ฌ๐Ÿ‡ง - Russian (ru) ๐Ÿ‡ท๐Ÿ‡บ By default, the Uzbek language is used. However, you can also change options `config.locale = MyIdLocale.EN` configuration to set the language. ## Custom Organization Details You can customize the SDK, for it to match your organization's brand book, by providing `MyIdOrganizationDetails` object to `organizationDetails` option. The object allows you to customize following fields: - *phoneNumber* - by default 712022202, which is MyID's call center. If you would like the customer to call your own call center, you can display your own phone number on the error screen, by providing it in this field (sample). - *logo* - UIImage object, that will be displayed on the input screen. If you would like to display your own logo on the top of the screen, this is the place to provide it. ## UI customization Hereโ€™s the converted version of your `MyIdAppearance` class, following the same structure and style: ```swift let appearance = MyIdAppearance() appearance.colorPrimary = appearance.colorOnPrimary = appearance.colorError = appearance.colorOnError = appearance.colorOutline = appearance.colorDivider = appearance.colorSuccess = appearance.colorButtonContainer = appearance.colorButtonContainerDisabled = appearance.colorButtonContent = appearance.colorButtonContentDisabled = appearance.buttonCornerRadius = ``` - `colorPrimary`: Defines the color of SDK which guides the user through the flow - `colorOnPrimary`: Defines the color of text and icons shown on top of the primary color - `colorError`: Defines the color of error buttons, icons, and states - `colorOnError`: Defines the color of text and icons shown on top of error backgrounds - `colorOutline`: Defines the color of borders and outlines for inputs and cards - `colorDivider`: Defines the color of thin lines separating UI sections - `colorSuccess`: Defines the color used to show successful actions or states - `colorButtonContainer`: Defines the background color of the primary action buttons - `colorButtonContainerDisabled`: Defines the background color of disabled buttons - `colorButtonContent`: Defines the color of text/icons in primary action buttons - `colorButtonContentDisabled`: Defines the color of text/icons in disabled buttons - `buttonCornerRadius`: Defines the corner radius of all primary buttons # ![Screenshot](images/frame_1.jpg) ![Screenshot](images/frame_2.jpg) ![Screenshot](images/frame_3.jpg) ![Screenshot](images/frame_4.jpg)