Apple iOS specific UI capabilities. All properties, methods and events in this namespace will only work on Apple iOS devices.
Use with AdView.adSize to specify a banner ad size appropriate for landscape orientations.
Use with AdView.adSize to specify a banner ad size appropriate for landscape orientations.
Note that fullscreen ads always display in portrait orientation.
Use with AdView.adSize to specify a banner ad size appropriate for portrait orientations.
Use with AdView.adSize to specify a banner ad size appropriate for portrait orientations.
Note that fullscreen ads always display in portrait orientation.
Use with Animation.curve to specify an animation that starts slowly and speeds up.
Use with Animation.curve to specify an animation that starts slowly and speeds up.
This property has been removed since 6.0.0
Use <Titanium.UI.ANIMATION_CURVE_EASE_IN> instead.
Use with Animation.curve to specify an animation that starts slowly, and speeds up, then slows down at the end of the animation.
This property has been removed since 6.0.0
Use <Titanium.UI.ANIMATION_CURVE_EASE_IN_OUT> instead.
Use with Animation.curve to specify an animation that starts quickly, then slows down at the end of the animation.
Use with Animation.curve to specify an animation that starts quickly, then slows down at the end of the animation.
This property has been removed since 6.0.0
Use <Titanium.UI.ANIMATION_CURVE_EASE_OUT> instead.
Use with Animation.curve to specify an animation that proceeds at a constant rate.
Use with Animation.curve to specify an animation that proceeds at a constant rate.
This property has been removed since 6.0.0
Use <Titanium.UI.ANIMATION_CURVE_LINEAR> instead.
Use with Attribute.type to specify a background color.
Use with Attribute.type to specify a background color.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_BACKGROUND_COLOR> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use a color name or hex value for Attribute.value.
See Attribute for more information.
Use with Attribute.type to apply a different baseline to the text.
Use with Attribute.type to apply a different baseline to the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_BASELINE_OFFSET> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to a number to specify how many pixels to raise or lower the text.
See Attribute for more information.
Use with Attribute.type to stretch the text horizontally.
Use with Attribute.type to stretch the text horizontally.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_EXPANSION> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to a float value to specify how much to stretch the text.
See Attribute for more information.
Use with Attribute.type to specify a font.
Use with Attribute.type to specify a font.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_FONT> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use a Font dictionary for Attribute.value.
See Attribute for more information.
Use with Attribute.type to specify a font color.
Use with Attribute.type to specify a font color.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_FOREGROUND_COLOR> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use a color name or hex value for Attribute.value.
See Attribute for more information.
Use with Attribute.type to specify kerning (space between characters).
Use with Attribute.type to specify kerning (space between characters).
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_KERN> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set Attribute.value to a float value specifying how many pixels to increase the character spacing.
See Attribute for more information.
Use with Attribute.value to use a letterpress text effect.
Use with Attribute.value to use a letterpress text effect.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_LETTERPRESS_STYLE> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_TEXT_EFFECT.
See Attribute for more information.
Use with Attribute.type to enable or disable ligatures.
Use with Attribute.type to enable or disable ligatures.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_LIGATURE> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set Attribute.value to 1
to enable ligatures, else 0
to disable.
Ligatures are only supported on certain fonts.
See Attribute for more information.
Use with Attribute.type to create a link.
Use with Attribute.type to create a link.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_LINK> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to a URL.
Use the Label's link event to determine when the user triggers a long press (not a click) event on the linked text.
See Attribute for more information.
Use with Attribute.type to skew the text.
Use with Attribute.type to skew the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_OBLIQUENESS> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to a float value to specify how much to skew the text.
See Attribute for more information.
Use with Attribute.type to display a shadow behind the text.
Use with Attribute.type to display a shadow behind the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_SHADOW> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set Attribute.value to a Shadow dictionary.
See Attribute for more information.
Use with Attribute.type to change the color of the horizontal line.
Use with Attribute.type to change the color of the horizontal line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_STRIKETHROUGH_COLOR> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use a color name or hex value for Attribute.value.
See Attribute for more information.
Use with Attribute.type to place a horizontal line through the text.
Use with Attribute.type to place a horizontal line through the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_STRIKETHROUGH_STYLE> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set the value
property to a Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_*
constant.
See Attribute for more information.
Use with Attribute.type to specify a color for the stroke text.
Use with Attribute.type to specify a color for the stroke text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_STROKE_COLOR> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use a color name or hex value for the value
property in the attributes dictionary.
See Attribute for more information on type modes.
Use with Attribute.type to specify the width of the stroke text.
Use with Attribute.type to specify the width of the stroke text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_STROKE_WIDTH> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set Attribute.value to a float value specifying the size of stroke width as a percentage of the font size. A positive value displays an outline of the charater, while a negative value fills the character.
See Attribute for more information.
Use with Attribute.type to apply a text effect.
Use with Attribute.type to apply a text effect.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_TEXT_EFFECT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to Titainium.UI.iOS.ATTRIBUTE_LETTERPRESS_STYLE
to apply a
letterpress effect to the text.
See Attribute for more information.
Use with Attribute.type to place a horizontal line under the text.
Use with Attribute.type to place a horizontal line under the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINES_STYLE> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Set the value
property to a Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_*
constant.
See Attribute for more information.
Use with Attribute.value to draw a line only underneath or through words.
Use with Attribute.value to draw a line only underneath or through words.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_BY_WORD> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.type to change the color of the horizontal line.
Use with Attribute.type to change the color of the horizontal line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_COLOR> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use a color name or hex value for Attribute.value.
See Attribute for more information.
Use with Attribute.value to draw a dashed line.
Use with Attribute.value to draw a dashed line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw an alternating line of dashes and dots.
Use with Attribute.value to draw an alternating line of dashes and dots.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw an alternating line of dashes and two dots.
Use with Attribute.value to draw an alternating line of dashes and two dots.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT_DOT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw a dotted line.
Use with Attribute.value to draw a dotted line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DOT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw a solid line.
Use with Attribute.value to draw a solid line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_SOLID> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw a double line.
Use with Attribute.value to draw a double line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_DOUBLE> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to not draw a line.
Use with Attribute.value to not draw a line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_NONE> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw a single line.
Use with Attribute.value to draw a single line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_SINGLE> constant instead (without the iOS namespace).
Requires: iOS 6.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.value to draw a thick line.
Use with Attribute.value to draw a thick line.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_THICK> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is either ATTRIBUTE_UNDERLINES_STYLE or ATTRIBUTE_STRIKETHROUGH_STYLE.
See Attribute for more information.
Use with Attribute.type to control the direction of the text.
Use with Attribute.type to control the direction of the text.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Set Attribute.value to a Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_*
constant.
See Attribute for more information on type modes.
Use with Attribute.value to use the embedded text direction.
Use with Attribute.value to use the embedded text direction.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_EMBEDDING> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_WRITING_DIRECTION.
See Attribute for more information.
Use with Attribute.value to write text left to right.
Use with Attribute.value to write text left to right.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_LEFT_TO_RIGHT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_WRITING_DIRECTION.
See Attribute for more information.
Use with Attribute.value to use the Unicode Bidirection Algorithm rules P2 and P3 to determine which direction to use.
Use with Attribute.value to use the Unicode Bidirection Algorithm rules P2 and P3 to determine which direction to use.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_NATURAL> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_WRITING_DIRECTION.
See Attribute for more information.
Use with Attribute.value to override the text direction.
Use with Attribute.value to override the text direction.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_OVERRIDE> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_WRITING_DIRECTION.
See Attribute for more information.
Use with Attribute.value to write text right to left.
Use with Attribute.value to write text right to left.
This property has been removed
6.0.0 Use the <Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_RIGHT_TO_LEFT> constant instead (without the iOS namespace).
Requires: iOS 7.0 and later
Use this constant when Attribute.type is ATTRIBUTE_WRITING_DIRECTION.
See Attribute for more information.
Converts strings formatted as addresses into clickable links.
Converts strings formatted as addresses into clickable links.
This property has been removed
6.0.0 Use <Titanium.UI.AUTOLINK_MAP_ADDRESSES> instead.
Requires: iOS 4.0 and later
Converts all detectable types of data into clickable links.
Converts all detectable types of data into clickable links.
This property has been removed since 6.0.0
Use <Titanium.UI.AUTOLINK_ALL> instead.
Converts strings formatted as calendar events into clickable links.
Converts strings formatted as calendar events into clickable links.
This property has been removed
6.0.0 Use <Titanium.UI.AUTOLINK_CALENDAR> instead.
Requires: iOS 4.0 and later
Converts strings formatted as URLs into clickable links.
Converts strings formatted as URLs into clickable links.
This property has been removed since 6.0.0
Use <Titanium.UI.AUTOLINK_URLS> instead.
Disables converting strings into clickable links.
Disables converting strings into clickable links.
This property has been removed since 6.0.0
Use <Titanium.UI.AUTOLINK_NONE> instead.
Converts strings formatted as phone numbers into clickable links.
Converts strings formatted as phone numbers into clickable links.
This property has been removed since 6.0.0
Use <Titanium.UI.AUTOLINK_PHONE_NUMBERS> instead.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Image mode constant. Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Image mode constant. Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with MaskedImage.mode to specify a blend mode.
Use with MaskedImage.mode to specify a blend mode.
See Titanium.UI.MaskedImage for more information on blend modes.
Use with BlurView.effect to specify a blur effect.
Requires: iOS 8.0 and later
Creates a blurring effect in the view. The area of the view is darker in hue than the underlying view.
Use with BlurView.effect to specify a blur effect.
Requires: iOS 8.0 and later
Creates a blurring effect in the view. The area of the view is lighter in hue than the underlying view.
Use with BlurView.effect to specify a blur effect.
Requires: iOS 8.0 and later
Creates a blurring effect in the view. The area of the view is the same approximate hue of the underlying view.
Use with BlurView.effect to specify a blur effect.
Requires: iOS 10.0 and later
Creates a blurring effect in the view. The area of the view is presented more prominent than the underlying view.
Use with BlurView.effect to specify a blur effect.
Requires: iOS 10.0 and later
Creates a blurring effect in the view. The blurring effect is the default one specified in iOS 10.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.View.clipMode to specify clipping behavior.
Use with Titanium.UI.iOS.CollisionBehavior.collisionMode to specify collisions with both items and boundaries.
Requires: iOS 7.0 and later
Use with Titanium.UI.iOS.CollisionBehavior.collisionMode to specify collisions with boundaries only.
Requires: iOS 7.0 and later
Use with Titanium.UI.iOS.CollisionBehavior.collisionMode to specify collisions with items only.
Requires: iOS 7.0 and later
Returns the iOS system texture used to render the background on a group table view.
Returns the iOS system texture used to render the background on a group table view.
Corresponds to iOS UIColor
groupTableViewBackgroundColor`.
This constant has been deprecated in iOS 6. Group style table views still default to using the standard iOS group table view background texture if no background color is specified. However, specifying this constant explicitly on iOS 6 and above results in a black background color.
Can be used anywhere a color value is required. See also "Colors" in Titanium.UI.
Returns the iOS system texture used to render the area behind scrollable content.
Returns the iOS system texture used to render the area behind scrollable content.
This property has been removed since 3.6.0
Corresponds to iOS UIColor
scrollViewTexturedBackgroundColor
.
Can be used anywhere a color value is required. See also "Colors" in Titanium.UI.
Returns the iOS system texture used to render the background of a page.
Returns the iOS system texture used to render the background of a page.
This property has been removed
3.6.0
Requires: iOS 5.0 and later
Corresponds to iOS UIColor
underPageBackgroundColor
.
Can be used anywhere a color value is required. See also "Colors" in Titanium.UI.
Returns the iOS system texture used for the back side of a view while it is being flipped.
Returns the iOS system texture used for the back side of a view while it is being flipped.
This property has been removed since 3.6.0
Corresponds to iOS UIColor
viewFlipsideBackgroundColor
.
Can be used anywhere a color value is required. See also "Colors" in Titanium.UI.
The heavy impact style used as the style
argument when creating a Titanium.UI.iOS.FeedbackGenerator with the
type FEEDBACK_GENERATOR_TYPE_IMPACT.
Requires: iOS 10.0 and later
The light impact style used as the style
argument when creating a Titanium.UI.iOS.FeedbackGenerator with the
type FEEDBACK_GENERATOR_TYPE_IMPACT.
Requires: iOS 10.0 and later
The medium impact style used as the style
argument when creating a Titanium.UI.iOS.FeedbackGenerator with the
type FEEDBACK_GENERATOR_TYPE_IMPACT.
Requires: iOS 10.0 and later
The error notification type used as the argument in Titanium.UI.iOS.FeedbackGenerator.notificationOccurred.
Requires: iOS 10.0 and later
The success notification type used as the argument in Titanium.UI.iOS.FeedbackGenerator.notificationOccurred.
Requires: iOS 10.0 and later
The warning notification type used as the argument in Titanium.UI.iOS.FeedbackGenerator.notificationOccurred.
Requires: iOS 10.0 and later
The feedback type to be used when specifying an impact in Titanium.UI.iOS.FeedbackGenerator.
Requires: iOS 10.0 and later
The feedback type to be used when specifying a received notification in Titanium.UI.iOS.FeedbackGenerator.
Requires: iOS 10.0 and later
The feedback type to be used when specifying a selection in Titanium.UI.iOS.FeedbackGenerator.
Requires: iOS 10.0 and later
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
The keyboard follows the dragging touch offscreen, and can be pulled upward again to cancel the dismiss.
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
The keyboard does not get dismissed with a drag.
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
Use with Titanium.UI.ScrollView.keyboardDismissMode to control keyboard dismiss mode.
The keyboard is dismissed when a drag begins.
Always use a larger title when this item is top most.
Requires: iOS 11.0 and later
Use with Titanium.UI.Window.largeTitleDisplayMode.
Automatically use the large out-of-line title based on the state of the p revious item in the navigation bar.
Requires: iOS 11.0 and later
Use with Titanium.UI.Window.largeTitleDisplayMode. An item with this
constant will show or hide the large title based on the request of the
previous navigation item. If the first item pushed is set to Automatic,
then it will show the large title if the navigation bar has the property
Titanium.UI.Window.largeTitleEnabled set to true
.
Never use a larger title when this item is top most.
Requires: iOS 11.0 and later
Use with Titanium.UI.Window.largeTitleDisplayMode.
To indicate that the Live Photo aspect is turned off and it will be treated as a still (e.g. for sharing).
Requires: iOS 9.1 and later
Use with createLivePhotoBadge to specify the badge behavior.
Include treatments so this image can be shown directly over the content of the Live Photo.
Requires: iOS 9.1 and later
Use with createLivePhotoBadge to specify the badge behavior.
Plays back the entire motion and sound content of the Live Photo, including transition effects at the start and end.
Requires: iOS 9.1 and later
This style matches the effect seen when pressing on a photo in the Photos app.
Plays back only a brief section of the motion content of the Live Photo, without sound.
Requires: iOS 9.1 and later
This style matches the effect seen in various iOS interface elements for hinting to the user when an asset contains Live Photo content.
An arrow that is automatically aligned.
An arrow that is automatically aligned.
An arrow that points downward.
An arrow that points downward.
An arrow that points toward the left.
An arrow that points toward the left.
An arrow that points toward the right.
An arrow that points toward the right.
An arrow that points upward.
An arrow that points upward.
View presented with the same style as its parent window.
View presented with the same style as its parent window.
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.
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.
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.
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.)
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.
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.
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.
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 normal style for preview actions.
Requires: iOS 9.0 and later
Used in conjunction with Titanium.UI.iOS.PreviewAction.style / Titanium.UI.iOS.PreviewActionGroup.style property.
The destructive style for preview actions.
Requires: iOS 9.0 and later
Used in conjunction with Titanium.UI.iOS.PreviewAction.style / Titanium.UI.iOS.PreviewActionGroup.style property.
The selected style for preview actions.
Requires: iOS 9.0 and later
Used in conjunction with Titanium.UI.iOS.PreviewAction.style / Titanium.UI.iOS.PreviewActionGroup.style property.
Use with Titanium.UI.iOS.PushBehavior.pushMode to specifiy a continuous force.
Requires: iOS 7.0 and later
Use with Titanium.UI.iOS.PushBehavior.pushMode to specifiy an instantaneous force.
Requires: iOS 7.0 and later
The default style for RowActionType.
Requires: iOS 8.0 and later
Used in conjunction with Titanium.UI.ListItem.editActions property and Titanium.UI.ListView.editaction event.
The destructive style for RowActionType.
Requires: iOS 8.0 and later
Used in conjunction with Titanium.UI.ListItem.editActions property and Titanium.UI.ListView.editaction event.
The normal style for RowActionType.
Requires: iOS 8.0 and later
Used in conjunction with Titanium.UI.ListItem.editActions property and Titanium.UI.ListView.editaction event.
Use with Titanium.UI.ScrollView.decelerationRate to control deceleration rate.
Use with Titanium.UI.ScrollView.decelerationRate to control deceleration rate.
Use with Titanium.UI.ScrollView.decelerationRate to control deceleration rate.
Use with Titanium.UI.ScrollView.decelerationRate to control deceleration rate.
Use with
Use with
The search bar has no background, and the search field is translucent.
Use with
Use with
The search bar has a translucent background, and the search field is opaque.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that adds an item.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers creation of an alarm.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers use of audio.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers creation of a bookmark.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers photo capture.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers video capture.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers cloud access.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that lets a user compose new content.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that indicates confirmation.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that chooses a generic contact.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers use of a calendar.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that lets a user designate a favorite item.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that indicates home.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that indicates an invitation.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Will cause a magnifying glass icon to be displayed at that location in the index. This should generally only be used as the first title in the index.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that lets a user designate a loved item.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers use of mail.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that lets a user mark a location.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers use of messaging.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that pauses media playback.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that plays media.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that disallows something.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that accesses the user's current location.
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.0 and later
An icon for a quick action that offers content sharing.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers shuffle mode.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers task creation.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers task completion.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers use of a clock or timer.
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
Number that represents the icon used for the application shortcut
Requires: iOS 9.1 and later
An icon for a quick action that offers updating.
String that represents the magnifying glass on the table view index bar
String that represents the magnifying glass on the table view index bar
Will cause a magnifying glass icon to be displayed at that location in the index. This should generally only be used as the first title in the index.
User tapped the back or forward button.
User tapped the back or forward button.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeBackForward
.
User resubmitted a form.
User resubmitted a form.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeFormResubmitted
.
User submitted a form.
User submitted a form.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeFormSubmitted
.
User tapped a link.
User tapped a link.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeLinkClicked
.
Some other action occurred.
Some other action occurred.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeOther
.
User tapped the reload button.
User tapped the reload button.
Used with the WebView.beforeload event.
Corresponds to iOS UIWebView
UIWebViewNavigationTypeReload
.
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.
Determines whether the shake to edit system-wide capability is enabled.
Determines whether the shake to edit system-wide capability is enabled.
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
Determines if the 3D-Touch capability "Force Touch" is supported (true
) or not (false
) by the device.
Requires: iOS 9.0 and later
Returns true
if the device supports 3D-Touch (iPhone 6S / iPhone 6S Plus and later) or false
if not.
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.
Sets the global status bar background color for the application.
Default: Undefined (Uses the native defaults)
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.
Creates and returns an instance of Titanium.UI.iOS.3DMatrix.
This method has been removed since 6.0.0
Use <Titanium.UI.3DMatrix> instead.
Properties to set on a new object, including any defined by Titanium.UI.iOS.3DMatrix except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.AdView.
Properties to set on a new object, including any defined by Titanium.UI.iOS.AdView except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.AnchorAttachmentBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.AnchorAttachmentBehavior except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.Animator.
Properties to set on a new object, including any defined by Titanium.UI.iOS.Animator except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.ApplicationShortcuts.
Properties to set on a new object, including any defined by Titanium.UI.iOS.ApplicationShortcuts except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.Attribute.
This method has been removed since 6.0.0
Use
Properties to set on a new object, including any defined by Titanium.UI.iOS.Attribute except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.AttributedString.
This method has been removed since 6.0.0
Use <Titanium.UI.AttributedString> instead.
Properties to set on a new object, including any defined by Titanium.UI.iOS.AttributedString except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.BlurView.
Properties to set on a new object, including any defined by Titanium.UI.iOS.BlurView except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.CollisionBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.CollisionBehavior except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.CoverFlowView.
Properties to set on a new object, including any defined by Titanium.UI.iOS.CoverFlowView except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.DocumentViewer.
Properties to set on a new object, including any defined by Titanium.UI.iOS.DocumentViewer except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.DynamicItemBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.DynamicItemBehavior except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.FeedbackGenerator.
Properties to set on a new object, including any defined by Titanium.UI.iOS.FeedbackGenerator except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.GravityBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.GravityBehavior except those marked not-creation or read-only.
Creates a live photo badge to be used together with the Titanium.UI.iOS.LivePhotoView API.
Requires: iOS 9.1 and later
Supported on iOS 9.1 and later.
Constant defining the live photo badge behavior.
This API can be assigned the following constants:
Creates and returns an instance of Titanium.UI.iOS.LivePhotoView.
Properties to set on a new object, including any defined by Titanium.UI.iOS.LivePhotoView except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.MenuPopup.
Properties to set on a new object, including any defined by Titanium.UI.iOS.MenuPopup except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.PreviewAction.
Properties to set on a new object, including any defined by Titanium.UI.iOS.PreviewAction except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.PreviewActionGroup.
Properties to set on a new object, including any defined by Titanium.UI.iOS.PreviewActionGroup except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.PreviewContext.
Properties to set on a new object, including any defined by Titanium.UI.iOS.PreviewContext except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.PushBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.PushBehavior except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.SnapBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.SnapBehavior except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.SplitWindow.
Properties to set on a new object, including any defined by Titanium.UI.iOS.SplitWindow except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.Stepper.
Properties to set on a new object, including any defined by Titanium.UI.iOS.Stepper except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.SystemButton.
Properties to set on a new object, including any defined by Titanium.UI.iOS.SystemButton except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.TabbedBar.
Properties to set on a new object, including any defined by Titanium.UI.iOS.TabbedBar except those marked not-creation or read-only.
Creates and returns an instance of Titanium.UI.iOS.Toolbar.
deprecated since 6.2.0
Use the cross-platform <Titanium.UI.Toolbar> instead.
Properties to set on a new object, including any defined by Titanium.UI.iOS.Toolbar except those marked not-creation or read-only.
Creates a transition animation when opening or closing windows in a Titanium.UI.iOS.NavigationWindow or Titanium.UI.Tab.
Requires: iOS 7.0 and later
Use the object returned by this method with the Window's transitionAnimation property.
Supported on iOS 7 and later.
Dictionary specifying the transition animation.
Creates and returns an instance of Titanium.UI.iOS.ViewAttachmentBehavior.
Properties to set on a new object, including any defined by Titanium.UI.iOS.ViewAttachmentBehavior except those marked not-creation or read-only.
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.
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.
New value for the property.
Sets the value of the appSupportsShakeToEdit property.
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.
Sets the value of the MODAL_PRESENTATION_CURRENT_CONTEXT property.
New value for the property.
Sets the value of the statusBarBackgroundColor property.
New value for the property.