Customization
Customize the SDK-provided screens to match your application's style
Localization and Copy
You may override specific strings by defining new values in your own Localizable.strings
file. The full list of string resources that can be overridden is available at https://github.com/smileidentity/ios/blob/main/Sources/SmileID/Resources/Localization/en.lproj/Localizable.strings.
Once you have your translated strings defined, you can apply them by calling SmileID.apply()
with an instance of SmileIDLocalizableStrings
. SmileIDLocalizableStrings
requires the bundle and tablename of your strings.
Theming
To customise the colors and typography of the SDK screens, you need to create a class that conforms to SmileIdTheme
protocol. This protocol exposes the cutomisable UI elements on the SDK.
After implementing the custom theme, it can be applied using the following snippet
Last updated