Certain elements of the UI can be fully customized via UI injection. It utilizes view adapter interfaces which you can implement and pass to GiniBank
when configuring the SDK. These interfaces declare the contract the injected view has to fulfill and allow the SDK to ask for your view instance when needed.
Top navigation bar
Colors, typography, and texts can be customized as described above.
To inject your own navigation bar view, you need to pass your navigation view controller to GiniBankConfiguration.shared.customNavigationController
. The view from the custom navigation view controller will then be displayed on all screens as the top navigation bar.
Bottom navigation bar
You can opt to show a bottom navigation bar. To enable it, pass true
to GiniBankConfiguration.shared.bottomNavigationBarEnabled
.
The top navigation bar will still be used, but its functionality will be limited to showing the screen’s title and an optional close button. Please inject a custom top navigation bar if your design requires it even if you have enabled the bottom navigation bar.
For each screen, we provide the possibility to inject a custom bottom navigation bar. More details will be added below during the specific screen customization.