The NavBar API supports a native navigation bar for iOS devices. ## Enabling the API This API is part of the `coreapi` extension that is included automatically. :::ruby extensions: ["coreapi"] ### JavaScript Usage Be sure to review the [JavaScript API Usage](/guide/api_js) guide for important information about using this API in JavaScript. ### Ruby Usage Be sure to review the [Ruby API Usage](/guide/api_ruby) guide for important information about using this API in Ruby. iOS Removes the current NavBar and replaces it with this one. HASH with NavBar elements. Left button with :action and :label defined. Label for the button. URL to call when button is pressed.It may be path to Ruby controller action; i.e. '/app/Account' would load the Account index action. For ruby callback use 'callback:/app/Account' Or javascript method to call: 'javascript: methodOnButton();'. (optional) Right button with :action and :label defined. Label for the button. URL to call when button is pressed.It may be path to Ruby controller action; i.e. '/app/Account' would load the Account index action. For ruby callback use 'callback:/app/Account' Or javascript method to call: 'javascript: methodOnButton();'. Title of the navigation bar. iOS Removes the current navigation bar. Does nothing if there is no active navigation bar. iOS Return true is navbar is started (used only for automatic tests) iOS 1.0.0