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 | Description |
|---|---|
| Titanium.UI.iPhone.ActivityIndicatorStyle | A set of constants for the styles available for Titanium.UI.ActivityIndicator objects. |
| 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. The Navigation Group is created by the method Titanium.UI.iPhone.NavigationGroup.
A Navigation Group is very similar to Tab Bars with the exception that they do not maintain a group of windows with a interface bar at the bottom. |
| Titanium.UI.iPhone.ProgressBarStyle | A set of constants for the bar styles used on the style property of Titanium.UI.ProgressBar. |
| 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.ActivityIndicator objects. |
| Titanium.UI.iPhone.StatusBar | A set of constants for the status bar style. |
| Titanium.UI.iPhone.SystemButtonStyle | A set of constants for the system button styles that can be used for the button style property. |
| 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 selectionStyle property of Titanium.UI.TableViewRow. |
| Titanium.UI.iPhone.TableViewScrollPosition | A set of constants for the position value that can be used for the position property of Titanium.UI.TableView when invoking scrollToIndex. |
| Titanium.UI.iPhone.TableViewSeparatorStyle | A set of constants for the style that can be used for the separatorStyle property of Titanium.UI.TableView. |
| Titanium.UI.iPhone.TableViewStyle | A set of constants for the style that can be used for the button style property of Titanium.UI.TableView. |
| Name | Description |
|---|---|
| addEventListener | add an event listener for the instance to receive view triggered events |
| createNavigationGroup | create and return an instance of Titanium.UI.iPhone.NavigationGroup |
| fireEvent | fire a synthesized event to the views listener |
| hideStatusBar | convenience method to hide the status bar |
| removeEventListener | remove a previously added event listener |
| showStatusBar | convenience method to show the status bar |
| Name | Type | Description |
|---|---|---|
| MODAL_PRESENTATION_CURRENT_CONTEXT | int | The view is presented using the same style as its parent window. This is currently only available currently on iPhone/iPad and SDK 3.2+. |
| MODAL_PRESENTATION_FORMSHEET | int | 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. This is currently only available currently on iPhone/iPad and SDK 3.2+. |
| MODAL_PRESENTATION_FULLSCREEN | int | The presented window covers the screen. This is currently only available currently on iPhone/iPad and SDK 3.2+. |
| MODAL_PRESENTATION_PAGESHEET | int | 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 Titanium.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN). This is currently only available currently on iPhone/iPad and SDK 3.2+. |
| MODAL_TRANSITION_STYLE_COVER_VERTICAL | int | 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. This is currently only available currently on iPhone/iPad. |
| MODAL_TRANSITION_STYLE_CROSS_DISSOLVE | int | 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. This is currently only available currently on iPhone/iPad. |
| MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL | int | 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. This is currently only available currently on iPhone/iPad. |
| MODAL_TRANSITION_STYLE_PARTIAL_CURL | int | 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 Titanium.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN modal presentation style. This is currently only available currently on iPhone/iPad and SDK 3.2+. |
| 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 | int | constant that controls the status bar color style |