Applies to Kony Visualizer Classic.
With Kony VisualizerV8 SP1 release, you can customize the navigation bar in iOS. Before Kony Visualizer V8 SP1 release, a user could only modify the Left button, Right button, and the title. However, iOS natively provides an option to add other UI controls to the navigation bar. To support the UI controls in the navigation bar, Kony has modified the navigation bar to provide the same features in Kony Visualizer.
TitleBar properties for forms created on older version of Visualizer (< V8 SP1) will be carried over to the new NavigationBar when the projects is migrated to Visualizer V8 SP1.
The following are the various new keys that are supported in the NavigationBar tab of Properties pane in Visualizer for iOS.
Key | Description |
---|---|
Render Title Text | Switches the form title on or off. |
Bar Style | Specifies the UI bar style to apply to the navigation bar. |
Master Data | Collection of bar button items that can be set to the properties (Left Bar Button Items, Right Bar Button Items, and Back Bar Button Item). |
Tint Color | Controls the tint color of the navigation bar. |
Translucent | Specifies whether the navigation bar is translucent |
Prompt |
A single line of text displayed at the top of the navigation bar |
Shadow Image | Represents the image used as a shadow beneath the navigation bar. This image is stretched horizontally to match the width of the bar. |
Extended View | This is a reference to a component without a contract which is displayed at the bottom of the navigation bar. |
Back Indicator Image | Specifies the image that appears at the leading edge of the back button. This attribute must be used in combination with the Back Indicator Transition Mask Image attribute. |
Back Indicator Transition Mask Image | Specifies the mask associated with the Back Indicator Image attribute. This is used to control the appearance of the Back button during animated transitions, and therefore must be used in conjunction with the Back Indicator Image attribute. |
Hides Back Button | Indicates whether the left items are displayed in addition to the back button. |
Left Items Supplement Back Button | Sets whether the back button is hidden, optionally animating the transition. |
To configure the items on the navigation bar, you must use the Edit button in from Master Data.
Using the following steps, you can configure any of the Left Bar Button Items, Right Bar Button Items, and the Back Bar Button Item.
Note: You can add multiple items for the Left Bar and the Right Bar, however, you can only add one item to the Back Button Item.
To add an item for the navigation bar, do the following:
Once you have configured the navigation bar button items, you can select then individually and configure their settings independent of the navigation bar.
Rev | Author | Edits |
V8 SP1 | PG | PG |
Copyright © 2013 Kony, Inc. All rights reserved. |