Skip to end of banner
Go to start of banner

Generic Components

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Certain elements of the UI can be fully customized via UI injection. It utilizes view adapter interfaces which you can implement and pass to GiniCapture 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 GiniConfiguration.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 GiniConfiguration.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. 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.

  • No labels