Help 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 HelpBottomNavigationBarAdapter
implementation to GiniConfiguration.shared.helpNavigationBarBottomAdapter
:
let customHelpBottomNavigationBarAdapter = CustomHelpBottomNavigationBarAdapter()
GiniConfiguration.shared.helpNavigationBarBottomAdapter = customHelpBottomNavigationBarAdapter
Custom help screens
You can show your own help screens and append them to the list on the main help screen. To do this, pass the title and UIViewController
for each screen to the GiniConfiguration.shared.customMenuItems
using a list of HelpMenuItem.custom
objects:
customHelpItems = [HelpMenuItem.custom("Custom menu item", CustomMenuItemViewController())]
GiniConfiguration.shared.customMenuItems = customHelpItems