UI customization
Camera access screen
Bottom navigation bar
You can inject your own view for the bottom navigation bar if you set GiniBankConfiguration.shared.bottomNavigationBarEnabled
to true
and pass a custom CameraBottomNavigationBarAdapter
implementation to GiniBankConfiguration.shared.cameraNavigationBarBottomAdapter
:
let customCameraNavigationBarBottomAdapter = CustomCameraBottomNavigationBarAdapter() GiniBankConfiguration.shared.cameraNavigationBarBottomAdapter = customCameraNavigationBarBottomAdapter
Custom loading indicator
There is a default loading indicator that shows that the image is being processed. You can show your own activity indicator by implementing the CustomLoadingIndicatorAdapter
interface and passing it to GiniBankConfiguration
:
let customLoadingIndicatorAdapter = new MyCustomLoadingIndicatorAdapter(); GiniBankConfiguration.shared.customLoadingIndicator = customLoadingIndicatorAdapter