UI customization
Camera access screen
Bottom navigation bar
You can inject your own view for the bottom navigation bar if you set GiniBankConfiguration.bottomNavigationBarEnabled
to true
and pass a custom CameraBottomNavigationBarAdapter
implementation to GiniBankConfiguration.cameraNavigationBarBottomAdapter
:
let customCameraNavigationBarBottomAdapter = CustomCameraBottomNavigationBarAdapter() GiniBankConfiguration.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.customLoadingIndicator = customLoadingIndicatorAdapter