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