Hiding or showing the BlackBerry Dynamics Launcher
BlackBerry Dynamics Launcher
The following code samples show how to hide or show the
BlackBerry Dynamics Launcher
button:For
iOS
, use the GTLauncherViewController.launcherButtonHidden
boolean property.To hide the Launcher button:
GTLauncherViewController *launcherVC = (GTLauncherViewController *)viewController; launcherVC.launcherButtonHidden = YES;
To show the Launcher button:
GTLauncherViewController *launcherVC = (GTLauncherViewController *)viewController; launcherVC.launcherButtonHidden = NO;
For
Android
, use the HostingApp.getInstance().setVisible(boolean isVisible, boolean updateView)
property.To hide the Launcher button:
HostingApp.getInstance().setVisible(false, false)
To show the Launcher button:
HostingApp.getInstance().setVisible(true, false)Paragraph