Hide or show the BlackBerry Dynamics Launcher

You have the option to disable the BlackBerry Dynamics Launcher button throughout your app, or to show or hide it on certain views.

Disable the BlackBerry Dynamics Launcher button in your app

Update info.plist to include a key named GDDisableAutomaticLauncherManagement with a boolean type and a value of YES.

Hide or show the BlackBerry Dynamics Launcher button on a view

If you are using Swift, use isLauncherButtonHidden in the class that sets up the view:
  • Hide the button: GDiOS.sharedInstance().getManagedLauncherViewController().isLauncherButtonHidden = true
  • Show the button: GDiOS.sharedInstance().getManagedLauncherViewController().isLauncherButtonHidden = false
If you are using Objective-C, use the GTLauncherViewController.launcherButtonHidden boolean property in the class that sets up the view:
  • Hide the button: GTLauncherViewController *launcherVC = (GTLauncherViewController *)viewController;launcherVC.launcherButtonHidden = YES;
  • Show the button: GTLauncherViewController *launcherVC = (GTLauncherViewController *)viewController;launcherVC.launcherButtonHidden = NO;