Dynamic Visibility


The iOS Contextual Navigation Toolbar can be enabled and disabled dynamically from your website using the Median Javascript Bridge.

When enabled: true the toolbar will be displayed if one of the following conditions are satisfied:

  • the webview has back history
  • the forward button is enabled in the configuration and the webview has forward history
  • the refresh button is enabled in configuration

When enabled: false the toolbar will be hidden regardless of any other condition

↔️Median JavaScript Bridge

// Show the contextual navigation toolbar, if conditions are met
// Hide the contextual navigation toolbar