Generic Components

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 let the SDK ask for your view instance when needed.

Top navigation bar

To inject your own navigation bar view, pass your navigation view controller to GiniConfiguration.shared.customNavigationController. Then the view from the custom navigation view controller is displayed on all screens as the top navigation bar.

Bottom navigation bar

To enable your bottom navigation bar, pass true to GiniConfiguration.shared.bottomNavigationBarEnabled.

The top navigation bar is still used, but its functionality is 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 enabled the bottom navigation bar.

For each screen, we provide the possibility to inject a custom bottom navigation bar. More details are added later during the specific screen customization.

Â