| Platform | Since |
|---|---|
| iPhone | 0.5 |
| iPad | 0.5 |
The iPhone/iPad specific UI capabilities. All properties, methods and events in this namespace will only work on the Apple iPhone or iPad related devices.
| Name | Summary |
|---|---|
| Titanium.UI.iPhone.ActivityIndicatorStyle |
A set of constants for the styles available for |
| Titanium.UI.iPhone.AnimationStyle |
A set of constants for the Animation Styles used for transitions. |
| Titanium.UI.iPhone.NavigationGroup |
A Navigation Group implements a specialized view that manages the navigation of hierarchical content. |
| Titanium.UI.iPhone.ProgressBarStyle |
A set of constants for the bar styles used on the |
| Titanium.UI.iPhone.RowAnimationStyle |
A set of constants for the Animation Styles used for transition on table view rows. |
| Titanium.UI.iPhone.ScrollIndicatorStyle |
A set of constants for the styles available for |
| Titanium.UI.iPhone.StatusBar |
A set of constants for the status bar style. |
| Titanium.UI.iPhone.SystemButton |
A set of constants for the system button style for buttons. |
| Titanium.UI.iPhone.SystemButtonStyle |
A set of constants for the system button styles that can be used for the button |
| Titanium.UI.iPhone.SystemIcon |
A set of constants for the system icon styles that can be used on a tab group tab. |
| Titanium.UI.iPhone.TableViewCellSelectionStyle |
A set of constants for the style that can be used for the |
| Titanium.UI.iPhone.TableViewScrollPosition |
A set of constants for the position value that can be used for the |
| Titanium.UI.iPhone.TableViewSeparatorStyle |
A set of constants for the style that can be used for the |
| Titanium.UI.iPhone.TableViewStyle |
A set of constants for the style that can be used for the button |
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| createNavigationGroup |
Create and return an instance of |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getAppBadge |
Gets the value of the appBadge property. |
| getAppSupportsShakeToEdit |
Gets the value of the appSupportsShakeToEdit property. |
| getStatusBarHidden |
Gets the value of the statusBarHidden property. |
| getStatusBarStyle |
Gets the value of the statusBarStyle property. |
| hideStatusBar |
convenience method to hide the status bar |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| setAppBadge |
Sets the value of the appBadge property. |
| setAppSupportsShakeToEdit |
Sets the value of the appSupportsShakeToEdit property. |
| setStatusBarHidden |
Sets the value of the statusBarHidden property. |
| setStatusBarStyle |
Sets the value of the statusBarStyle property. |
| showStatusBar |
convenience method to show the status bar |
| Name | Type | Summary |
|---|---|---|
| MODAL_PRESENTATION_CURRENT_CONTEXT | Number |
The view is presented using the same style as its parent window. read-only |
| MODAL_PRESENTATION_FORMSHEET | Number |
The width and height of the presented window are smaller than those of the screen and the view is centered on the screen. If the device is in a landscape orientation and the keyboard is visible, the position of the view is adjusted upward so that the view remains visible. All uncovered areas are dimmed to prevent the user from interacting with them. read-only |
| MODAL_PRESENTATION_FULLSCREEN | Number |
The presented window covers the screen. read-only |
| MODAL_PRESENTATION_PAGESHEET | Number |
The height of the presented window is set to the height of the screen and the view's width is set to the width of the screen in a portrait orientation. Any uncovered areas are dimmed to prevent the user from interacting with them. (In portrait orientations, this option is essentially the same as |
| MODAL_TRANSITION_STYLE_COVER_VERTICAL | Number |
When the window is presented, its view slides up from the bottom of the screen. On dismissal, the view slides back down. This is the default transition style. read-only |
| MODAL_TRANSITION_STYLE_CROSS_DISSOLVE | Number |
When the window is presented, the current view fades out while the new view fades in at the same time. On dismissal, a similar type of cross-fade is used to return to the original view. read-only |
| MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL | Number |
When the window is presented, the current view initiates a horizontal 3D flip from right-to-left, resulting in the revealing of the new view as if it were on the back of the previous view. On dismissal, the flip occurs from left-to-right, returning to the original view. read-only |
| MODAL_TRANSITION_STYLE_PARTIAL_CURL | Number |
When the window is presented, one corner of the current view curls up to reveal the modal view underneath. On dismissal, the curled up page unfurls itself back on top of the modal view. A modal view presented using this transition is itself prevented from presenting any additional modal views. This transition style is supported only if the window is presenting a |
| appBadge | String |
set the application badge for the application's icon in the springboard |
| appSupportsShakeToEdit | Boolean |
control whether the shake to edit system wide capability is enabled |
| statusBarHidden | Boolean |
control the status bar visibility |
| statusBarStyle | Number |
constant that controls the status bar color style |