The iPhone/iPad-specific UI capabilities. All properties, methods and events in this namespace will only work on Apple iOS systems.
This class has been removed since 7.0.0
Use the unified <Titanium.UI.iOS> namespace instead.
View presented with the same style as its parent window.
View presented with the same style as its parent window.
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window presentation style constants MODAL_PRESENTATION_CURRENT_CONTEXT, MODAL_PRESENTATION_FORMSHEET, MODAL_PRESENTATION_FULLSCREEN, and MODAL_PRESENTATION_PAGESHEET.
Window width and height are smaller than those of the screen and the view is centered on the screen.
Window width and height are smaller than those of the screen and the view is centered on the screen.
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
If the system 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 and do not respond to touch to prevent the user from interacting with them.
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window presentation style constants MODAL_PRESENTATION_CURRENT_CONTEXT, MODAL_PRESENTATION_FORMSHEET, MODAL_PRESENTATION_FULLSCREEN, and MODAL_PRESENTATION_PAGESHEET.
Window covers the screen.
Window covers the screen.
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window presentation style constants MODAL_PRESENTATION_CURRENT_CONTEXT, MODAL_PRESENTATION_FORMSHEET, MODAL_PRESENTATION_FULLSCREEN, and MODAL_PRESENTATION_PAGESHEET.
Window height is the height of the screen and width is equal to screen width in a portrait orientation.
Window height is the height of the screen and width is equal to screen width in a portrait orientation.
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Any uncovered areas are dimmed and do not respond to touch, to prevent the user from interacting with them. In portrait orientations, this option is essentially the same as MODAL_PRESENTATION_FULLSCREEN.
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window presentation style constants MODAL_PRESENTATION_CURRENT_CONTEXT, MODAL_PRESENTATION_FORMSHEET, MODAL_PRESENTATION_FULLSCREEN, and MODAL_PRESENTATION_PAGESHEET.
When the window is presented, its view slides up from the bottom of the screen. On dismissal, the view slides back down (default.)
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window transition style constants MODAL_TRANSITION_STYLE_COVER_VERTICAL, MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, and MODAL_TRANSITION_STYLE_PARTIAL_CURL.
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 property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window transition style constants MODAL_TRANSITION_STYLE_COVER_VERTICAL, MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, and MODAL_TRANSITION_STYLE_PARTIAL_CURL.
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 property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window transition style constants MODAL_TRANSITION_STYLE_COVER_VERTICAL, MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, and MODAL_TRANSITION_STYLE_PARTIAL_CURL.
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.
This property has been removed
7.0.0 Use <Titanium.UI.iOS.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL> instead.
Requires: iOS 3.2 and later
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 MODAL_PRESENTATION_FULLSCREEN modal presentation style.
Used with the Titanium.UI.Window.open and Titanium.UI.Window.close methods.
One of the group of modal window transition style constants MODAL_TRANSITION_STYLE_COVER_VERTICAL, MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, and MODAL_TRANSITION_STYLE_PARTIAL_CURL.
The name of the API that this proxy corresponds to.
The name of the API that this proxy corresponds to.
The value of this property is the fully qualified name of the API. For example, Button
returns Ti.UI.Button
.
Value of the badge for the application's springboard icon.
Value of the badge for the application's springboard icon.
This property has been removed since 7.0.0
Use <Titanium.UI.iOS.appBadge> instead.
Determines whether the shake to edit system-wide capability is enabled.
Determines whether the shake to edit system-wide capability is enabled.
This property has been removed since 7.0.0
Use <Titanium.UI.iOS.appSupportsShakeToEdit> instead.
Indicates if the proxy will bubble an event to its parent.
Some proxies (most commonly views) have a relationship to other proxies, often established by the add() method. For example, for a button added to a window, a click event on the button would bubble up to the window. Other common parents are table sections to their rows, table views to their sections, and scrollable views to their views. Set this property to false to disable the bubbling to the proxy's parent.
Default: true
The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.
The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.
If this property is set to a Window or TabGroup, then the corresponding Activity lifecycle event callbacks will also be called on the proxy. Proxies that require the activity lifecycle will need this property set to the appropriate containing Window or TabGroup.
Determines whether the status bar is hidden.
Determines whether the status bar is hidden.
This property has been removed since 6.0.0
Use <Titanium.UI.Window.fullscreen> instead.
The setter for this property does not work on iOS 7 and is deprecated for earlier iOS versions since Release 3.1.3. Use the fullscreen property of the window to control if the staus bar is shown or not.
Determines the status bar color style.
Determines the status bar color style.
This property has been removed since 6.0.0
Use <Titanium.UI.Window.statusBarStyle> instead.
The setter for this property does not work on iOS 7 and is deprecated for earlier iOS versions since Release 3.1.3. Use the statusBarStyle property of the window to control the status bar style.
This API can be assigned the following constants:
Adds the specified callback as an event listener for the named event.
Name of the event.
Callback function to invoke when the event is fired.
Applies the properties to the proxy.
Properties are supplied as a dictionary. Each key-value pair in the object is applied to the proxy such that myproxy[key] = value.
A dictionary of properties to apply.
Fires a synthesized event to any registered listeners.
Name of the event.
A dictionary of keys and values to add to the Titanium.Event object sent to the listeners.
Gets the value of the appBadge property.
This method has been removed since 7.0.0
Use <Titanium.UI.iOS.appBadge> instead.
Gets the value of the appSupportsShakeToEdit property.
This method has been removed since 7.0.0
Use <Titanium.UI.iOS.appSupportsShakeToEdit> instead.
Gets the value of the statusBarHidden property.
This method has been removed since 6.0.0
Use <Titanium.UI.Window.fullscreen> instead.
Gets the value of the statusBarStyle property.
This method has been removed since 6.0.0
Use <Titanium.UI.Window.statusBarStyle> instead.
Hides the status bar.
This method has been removed
3.2.0 This method does not work on iOS 7 and is deprecated on earlier versions. Use the <Titanium.UI.Window.fullscreen> property of the window to control if the staus bar is shown or not.
Determines whether action is animated.
Removes the specified callback as an event listener for the named event.
Multiple listeners can be registered for the same event, so the
callback
parameter is used to determine which listener to remove.
When adding a listener, you must save a reference to the callback function in order to remove the listener later:
var listener = function() { Ti.API.info("Event listener called."); }
window.addEventListener('click', listener);
To remove the listener, pass in a reference to the callback function:
window.removeEventListener('click', listener);
Name of the event.
Callback function to remove. Must be the same function passed to addEventListener
.
Sets the value of the appBadge property.
This method has been removed since 7.0.0
Use <Titanium.UI.iOS.appBadge> instead.
New value for the property.
Sets the value of the appSupportsShakeToEdit property.
This method has been removed since 7.0.0
Use <Titanium.UI.iOS.appSupportsShakeToEdit> instead.
New value for the property.
Sets the value of the bubbleParent property.
New value for the property.
Sets the value of the lifecycleContainer property.
New value for the property.
Shows the status bar.
This method has been removed
3.2.0 This method does not work on iOS 7 and is deprecated on earlier versions. Use the <Titanium.UI.Window.fullscreen> property of the window to control if the staus bar is shown or not.
Determines whether action is animated.