Release Notes

Titanium SDK 5.0.0 General Availability - 16 September 2015

Titanium SDK 5.0.0 General Availability - 16 September 2015

Contents

About This Release

This is a general availability (GA) version of Titanium SDK 5.0.0.

Note that this release includes feature and behavior changes. See Notice of Feature and Behavior Changes for details.

This Release introduces a number of new features. See New Features for a summary of new features in this release. Notable issues include support for Android 6.0 (Marshmallow), iOS 9.0, watchOS 2 and direct API access for Windows.

This Release includes over 150 bug fixes and improvements, see the full list of issues that were addressed in Release 5.0.0.

Android Support

This Release includes support to build your application with the Android 6.0 (Marshmallow) SDK.

Note there is a known issue where the application will crash if the camera is used

CLI 5.0.0

This Release coincides with the release of Appcelerator CLI 5.0.0, which includes Alloy 1.7.8 and Titanium CLI 5.0.3.

For more details, see the CLI Release Notes.

iOS and watchOS Support

This Release includes support for iOS 9.0, watchOS 2 and Xcode 7.0.

Note there is a known issue that the SDK can only detect one iOS 9.0 device when multiple devices are plugged in.

Note that this Release only supports watchOS 2 applications built with Xcode; iOS app extensions and watchOS 1 applications are not supported in this Release.

To get started with watchOS 2, see:

Studio 4.3.0

This Release coincides with the release of Studio 4.3.0, which includes support for building, running and packaging watchOS 2 applications built in Xcode.

For more details, see the Studio Release Notes.

Notice of Feature and Behavior Changes

Android Platform

Cookie Expiration

Due to the switch from the Apache HTTP Client library to the java.net package for network support, you can no longer set the expiration date of the cookie using the expiryDate property.

Instead, set the maxAge property of the Cookie object on the Android platform.

iOS Platform

Application Transport Security

Starting with iOS 9.0, Apple introduced new security guidelines for network connections, which requires TLS 1.2 or greater, and specific cipher criteria. If a connection does not meet the guidelines, Apple will refuse the connection and an error will be returned in the network response.

Because of the strict guidelines, the Titanium SDK disables ATS by default. If you wish to re-enable ATS, add the NSAppTransportSecurity dict to the ios plist section of the tiapp.xml file, then add the NSAllowArbitraryLoads key and set it to true.

Note that you may need to whitelist URLs in order to connect to the web services.

For more information, see the iOS 9 Application Note in the Titanium.Network API reference.

Contacts

Starting with iOS 9.0, to get the ID of a Titanium.Contacts.Person object use the identifier property.

Prior to iOS 9.0, use the recordId property.

Icons and Launch Images

Icons (app, settings and spotlight) and launch images are now added to the Asset Catalog. Due to the change, you can no longer reference these assets from the filesystem. For example, you can no longer set the backgroundImage property to a launch image.

Also all app icons are required to be added to the project in order to build an iOS application. If any application icon is missing, the build will fail. The build will not fail if you omit spotlight or settings icons.

All icons must be square, that is, the height and width must be equal, and in PNG format. If an icon does not meet the requirements, it will be ignored during the build process.

You are recommended to add a 1024 x 1024 PNG image, named DefaultIcon.png placed in the project's root folder, which is used to generate all or only omitted icons for the project. New Titanium projects will have the DefaultIcon.png file.

IPv6 DNS64/NAT64 Compatibility

If you submit an iOS 9 application to the iTunes App Store, your application must be compatible with IPv6 DNS64/NAT64 networks as part of App Store submissions.

Apple recommends not to include hard-coded IPv4 address literals in your application, for example, 127.0.0.1, and to test the application with an IPv6 DNS64/NAT64 network.

For more information, see the iOS 9 Application Note in the Titanium.Network API reference.

ListView Edit Actions

The ListView rowAction event was renamed to the editaction event, which is fired when a user interacts with a custom edit action in a list item. Update your application to listen for the editaction event.

Windows Platform

Windows Publisher ID

Starting with this Release, to build Windows Phone or Store applications with the CLI, add the --win-publisher-id <WINDOW_PUBLISHER_ID> option to appc run command. If prompting is turned on, the CLI will prompt you for your Windows Publisher ID. You may also set the Titanium CLI configuration variable windows.publisherId rather than using the command-line option.

If you are using Studio, set the Windows Publisher ID in Studio Preferences.

The Windows Publisher ID can be retrieved from the Windows Dev Center Dashboard.

New Features

This section describes new features introduced in Release 5.0.0.

Android Platform

This section lists new features and improvements only available on the Android platform.

Large Icon Support for Notifications

This Release supports adding a large icon to be shown in the content area of a notificaiton. Set the largeIcon property of the Ti.Android.Notification object.

Network Support

On Android, the java.net package replaces the Apache HTTP Client library for network support. Google removed support the Apache HTTP Client library in Android 6.0 in favor of using the java.net.HttpURLConnection class, which is "more efficient because it reduces network use through transparent compression and response caching, and minimizes power consumption."

Titanium Themes

This Release introduces new predefined Titanium themes for Android to hide the action bar and optionally the status bar.

Set the android:theme attribute of the Android manifest application element or set a Window object's theme property to one of the following new themes:

iOS Platform

This section lists new features and improvements only available on the iOS platform.

Attributed String Line Break

iOS now supports changing the line break behavior with AttributedStrings. Set the attribute type to ATTRIBUTE_LINE_BREAK and the attribute value to an ATTRIBUTE_LINE_BREAK_* constant.

Handoff

This Release supports Handoff, a feature introduced in iOS 8 that allows a user to transfer an in-progress activity from one Apple device to another. For example, if a user starts reading a book on an iPad, they can use Handoff to read the same book on an iPhone from where they stopped reading.

For more information, see:

Icons and Launch Images

The Titanium SDK now uses the Asset Catalog to support icons and launch images, allowing the SDK to support App Thinning.

You are recommended to add a 1024 x 1024 PNG image, named DefaultIcon.png placed in the project's root folder, which is used to generate all or only omitted icons for the project. New Titanium projects will have the DefaultIcon.png file.

Note that the localized launch images in the i18n folder are not supported by Asset Catalog.

For more details, see the Icons and Splash Screens guide.

Spotlight Search

Starting with iOS 9, you can add your application's content, user activities and web content to either the private on-device index or public Apple server-side index so the user can find it using iOS Spotlight.

For more information, see:

Watch Connectivity

To communicate with watchOS 2 applications, use the Titanum.WatchSession API to exchange data and files.

Note that the application must run on an iOS 9 iPhone that supports watch apps and a watchOS 2 watch, and needs to be built with iOS 9 and Xcode 7.

To get started with Watch Connectivity, see:

Windows Platform

This section lists new features and improvements only available on the Windows platform.

API Parity

The Windows Platform expands support for several APIs, including:

For details, see the New APIs section below.

Direct API Access

This Release supports using the Windows Runtime C++ APIs directly in JavaScript. Note that the Windows C#, VB and JavaScript APIs are not supported as well as any Windows 10 API. Check the Windows API reference to see if it supports the C++ API and Windows 8 and 8.1 before using it.

To use the WinRT APIs, pass the require() method the fully qualified name of the class you want to use, then invoke API calls on the object.

For details, see the Window Runtime Direct API Access.

Known Issues

Camera Causes Application to Crash with Android SDK 6.0

The application crashes when the camera is shown and built against Android SDK 6.0 (TIMOB-19422).

If you want to deploy to Android 6.0 devices with camera support, change the target SDK to version 22 (Android SDK 5.1).

Can Only Detect One iOS 9.0 Device

When using Xcode 7, the Titanium SDK can only detect one iOS 9.0 if multiple devices are plugged in. (TIMOB-19468).

API Changes

New APIs

The following APIs are new or have expanded platform support in Release 5.0.0.

APITypeNotes
Titanium.Android.Notification.getLargeIconmethod

Gets the value of the Titanium.Android.Notification.largeIcon property. (New API, supported on Android.)

Titanium.Android.Notification.largeIconproperty

Add a large icon to the notification (and the ticker on some devices) specified as an Android resource ID, or a local URL to a density-specific image. (New API, supported on Android.)

Titanium.Android.Notification.setLargeIconmethod

Sets the value of the Titanium.Android.Notification.largeIcon property. (New API, supported on Android.)

Titanium.App.iOS.SearchableIndexobject

The SearchableIndex module is used to add or remove Ti.App.iOS.SearchableItem objects from the device search index. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemobject

Used to create a unique object containing all of the search information that will appear in the device search index. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.SearchableItemAttributeSetobject

The SearchableItemAttributeSet module defines metadata properties for SearchItem and UserActivity objects. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_APPLE_ICNSproperty

Uniform type identifier for Mac OS icon images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_APPLE_PROTECTED_MPEG4_AUDIOproperty

Uniform type identifier for protected MPEG-4 audio (iTunes music store format). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_AUDIOproperty

Uniform type identifier for all audio content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_BMPproperty

Uniform type identifier for Windows bitmap images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_FLAT_RTFDproperty

Uniform type identifier for Rich Text with content embedding, pasteboard format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_GIFproperty

Uniform type identifier for GIF images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_HTMLproperty

Uniform type identifier for HTML. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_ICOproperty

Uniform type identifier for Windows icon images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_IMAGEproperty

Uniform type identifier for all image types. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_JPEGproperty

Uniform type identifier for JPEG images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_JPEG2000property

Uniform type identifier for JPEG 2000 images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MOVIEproperty

Uniform type identifier for all audiovisual content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MP3property

Uniform type identifier for MP3 audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEGproperty

Uniform type identifier for MPEG-1 and MPEG-2 content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEG4property

Uniform type identifier for MPEG-4 content. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_MPEG4_AUDIOproperty

Uniform type identifier for MPEG-4 audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PDFproperty

Uniform type identifier for PDF data. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PICTproperty

Uniform type identifier for PICT images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PLAIN_TEXTproperty

Uniform type identifier for a plain text type, equivalent to MIME type text/plain. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_PNGproperty

Uniform type identifier for PNG images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_QUICKTIME_IMAGEproperty

Uniform type identifier for QuickTime images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_QUICKTIME_MOVIEproperty

Uniform type identifier for QuickTime movies. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_RTFproperty

Uniform type identifier for Rich Text. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_RTFDproperty

Uniform type identifier for Rich Text Format Directory, that is, Rich Text with content embedding, on-disk format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TEXTproperty

Uniform type identifier for all text types. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TIFFproperty

Uniform type identifier for TIFF images. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_TXN_TEXT_AND_MULTIMEDIA_DATAproperty

Uniform type identifier for MLTE (Textension) format for mixed text and multimedia data. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF16_EXTERNAL_PLAIN_TEXTproperty

Uniform type identifier for Unicode-16 with byte-order mark (BOM), or if BOM is not present, an external representation byte order (big-endian). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF16_PLAIN_TEXTproperty

Uniform type identifier for Unicode-16, native byte order, with an optional byte-order mark (BOM). (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_UTF8_PLAIN_TEXTproperty

Uniform type identifier for Unicode-8 plain text type. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_VIDEOproperty

Uniform type identifier for all video content without audio. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_WEB_ARCHIVEproperty

Uniform type identifier for WebKit webarchive format. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UTTYPE_XMLproperty

Uniform type identifier for XML. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.UserActivityobject

The UserActivity module is used to enable device Handoff and to create User Activities. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.continueactivityevent

Fired when iOS continueactivity calls continueUserActivity. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableIndexmethod

Creates and returns an instance of Titanium.App.iOS.SearchableIndex. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableItemmethod

Creates and returns an instance of Titanium.App.iOS.SearchableItem. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createSearchableItemAttributeSetmethod

Creates and returns an instance of Titanium.App.iOS.SearchableItemAttributeSet. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.createUserActivitymethod

Creates and returns an instance of Titanium.App.iOS.UserActivity. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.getSupportedUserActivityTypesmethod

Gets the value of the Titanium.App.iOS.supportedUserActivityTypes property. (New API, supported on iPhone and iPad.)

Titanium.App.iOS.supportedUserActivityTypesproperty

Provides an Array of the NSUserActivityTypes keys defined within your Titanium project. (available on iOS 8 and later). (New API, supported on iPhone and iPad.)

Titanium.Contacts.getGroupByIdentifiermethod

Gets the group with the specified identifier. (New API, supported on iPhone and iPad.)

Titanium.Contacts.getPersonByIdentifiermethod

Gets the person with the specified identifier. (New API, supported on Android, iPhone and iPad.)

Titanium.Contacts.Person.identifierproperty

Identifier of the person. (New API, supported on iPhone and iPad.)

Titanium.Geolocation.allowsBackgroundLocationUpdatesproperty

Determines if the app can do background location updates. (New API, supported on iPhone and iPad.)

Titanium.Geolocation.getAllowsBackgroundLocationUpdatesmethod

Gets the value of the Titanium.Geolocation.allowsBackgroundLocationUpdates property. (New API, supported on iPhone and iPad.)

Titanium.Geolocation.setAllowsBackgroundLocationUpdatesmethod

Sets the value of the Titanium.Geolocation.allowsBackgroundLocationUpdates property. (New API, supported on iPhone and iPad.)

Titanium.Media.AudioPlayer.changeevent

Fired when the state of the playback changes. (Added support for Windows Phone.)

Titanium.Media.AudioPlayer.completeevent

Fired when the audio has finished playing. (Added support for Windows Phone.)

Titanium.Media.AudioPlayer.errorevent

Fired when there's an error. (Added support for Windows Phone.)

Titanium.Media.Sound.changeevent

Fired when the state of the playback changes. (Added support for Windows Phone.)

Titanium.Media.Sound.completeevent

Fired when the audio has finished playing. (Added support for Windows Phone.)

Titanium.Media.Sound.errorevent

Fired when an error occurs while playing the audio. (Added support for Windows Phone.)

Titanium.Media.VideoPlayer.completeevent

Fired when movie playback ends or a user exits playback. (Added support for Windows Phone.)

Titanium.Media.VideoPlayer.errorevent

Fired when movie playback encounters an error. (Added support for Windows Phone.)

Titanium.Network.Cookie.getMaxAgemethod

Gets the value of the Titanium.Network.Cookie.maxAge property. (New API, supported on Android.)

Titanium.Network.Cookie.maxAgeproperty

Sets the Max-Age attribute of a Cookie, in delta-seconds. (New API, supported on Android.)

Titanium.Network.Cookie.setMaxAgemethod

Sets the value of the Titanium.Network.Cookie.maxAge property. (New API, supported on Android.)

Titanium.UI.ATTRIBUTE_LINE_BREAKproperty

Use with Attribute.type to wrap and truncate the text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_CHAR_WRAPPINGproperty

Use with Attribute.value to wrap words at word boundaries. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_CLIPPINGproperty

Use with Attribute.value to set lines to not draw past the edge of the text container. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_HEADproperty

Use with Attribute.value to use ellipsis glyph at the beginning of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_MIDDLEproperty

Use with Attribute.value to use ellipsis glyph at the middle of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_TRUNCATING_TAILproperty

Use with Attribute.value to use ellipsis glyph at the end of the line for missing text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINE_BREAK_BY_WORD_WRAPPINGproperty

Use with Attribute.value to wrap words at word boundaries. (New API, supported on iPhone and iPad.)

Titanium.UI.Clipboardobject

A module used for accessing clipboard data. (Added support for Windows Phone.)

Titanium.UI.ListView.noresultsevent

Fired when the search using either searchView or searchText has no results. (Added support for Android.)

Titanium.UI.ListView.editactioneventFired when the user interacts with one of the custom edit actions.
Titanium.UI.Picker.getSelectionOpensmethod

Gets the value of the Titanium.UI.Picker.selectionOpens property. (New API, supported on Android.)

Titanium.UI.Picker.selectionOpensproperty

Determines whether calling the method setSelectedRow opens when called (New API, supported on Android.)

Titanium.UI.ScrollView.canCancelEventsproperty

Determines whether this scroll view can cancel subview touches in order to scroll instead. (Added support for Windows Phone.)

Titanium.UI.ScrollView.contentOffsetproperty

X and Y coordinates to which to reposition the top-left point of the scrollable region. (Added support for Windows Phone.)

Titanium.UI.ScrollView.decelerationRateproperty

The deceleration rate of the ScrollView. (Added support for Windows Phone.)

Titanium.UI.ScrollView.disableBounceproperty

Determines whether scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getCanCancelEventsmethod

Gets the value of the Titanium.UI.ScrollView.canCancelEvents property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getContentOffsetmethod

Gets the value of the Titanium.UI.ScrollView.contentOffset property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getDecelerationRatemethod

Gets the value of the Titanium.UI.ScrollView.decelerationRate property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getDisableBouncemethod

Gets the value of the Titanium.UI.ScrollView.disableBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getHorizontalBouncemethod

Gets the value of the Titanium.UI.ScrollView.horizontalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getMaxZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.maxZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getMinZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.minZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getOverScrollModemethod

Gets the value of the Titanium.UI.ScrollView.overScrollMode property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollIndicatorStylemethod

Gets the value of the Titanium.UI.ScrollView.scrollIndicatorStyle property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollTypemethod

Gets the value of the Titanium.UI.ScrollView.scrollType property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getScrollsToTopmethod

Gets the value of the Titanium.UI.ScrollView.scrollsToTop property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getVerticalBouncemethod

Gets the value of the Titanium.UI.ScrollView.verticalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.getZoomScalemethod

Gets the value of the Titanium.UI.ScrollView.zoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.horizontalBounceproperty

Determines whether horizontal scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.maxZoomScaleproperty

Maximum scaling factor of the scrollable region and its content. (Added support for Windows Phone.)

Titanium.UI.ScrollView.minZoomScaleproperty

Minimum scaling factor of the scrollable region and its content. (Added support for Windows Phone.)

Titanium.UI.ScrollView.overScrollModeproperty

Determines the behavior when the user overscolls the view. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollIndicatorStyleproperty

Style of the scrollbar. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollTypeproperty

Limits the direction of the scrollable region, overriding the deduced setting. Set to horizontal or vertical. (Added support for Windows Phone.)

Titanium.UI.ScrollView.scrollsToTopproperty

Controls whether the scroll-to-top gesture is effective. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setCanCancelEventsmethod

Sets the value of the Titanium.UI.ScrollView.canCancelEvents property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setContentOffsetmethod

Sets the value of the Titanium.UI.ScrollView.contentOffset property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setDecelerationRatemethod

Sets the value of the Titanium.UI.ScrollView.decelerationRate property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setDisableBouncemethod

Sets the value of the Titanium.UI.ScrollView.disableBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setHorizontalBouncemethod

Sets the value of the Titanium.UI.ScrollView.horizontalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setMaxZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.maxZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setMinZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.minZoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setOverScrollModemethod

Sets the value of the Titanium.UI.ScrollView.overScrollMode property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollIndicatorStylemethod

Sets the value of the Titanium.UI.ScrollView.scrollIndicatorStyle property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollTypemethod

Sets the value of the Titanium.UI.ScrollView.scrollType property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setScrollsToTopmethod

Sets the value of the Titanium.UI.ScrollView.scrollsToTop property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setVerticalBouncemethod

Sets the value of the Titanium.UI.ScrollView.verticalBounce property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.setZoomScalemethod

Sets the value of the Titanium.UI.ScrollView.zoomScale property. (Added support for Windows Phone.)

Titanium.UI.ScrollView.verticalBounceproperty

Determines whether vertical scroll bounce of the scrollable region is enabled. (Added support for Windows Phone.)

Titanium.UI.ScrollView.zoomScaleproperty

Scaling factor of the scroll view's content. (Added support for Windows Phone.)

Titanium.UI.Switch.colorproperty

Color to use for switch text, as a color name or hex triplet. (Added support for Windows Phone.)

Titanium.UI.Switch.enabledproperty

Determines whether the switch is enabled. (Added support for Windows Phone.)

Titanium.UI.Switch.getColormethod

Gets the value of the Titanium.UI.Switch.color property. (Added support for Windows Phone.)

Titanium.UI.Switch.getEnabledmethod

Gets the value of the Titanium.UI.Switch.enabled property. (Added support for Windows Phone.)

Titanium.UI.Switch.getTitleOffmethod

Gets the value of the Titanium.UI.Switch.titleOff property. (Added support for Windows Phone.)

Titanium.UI.Switch.getTitleOnmethod

Gets the value of the Titanium.UI.Switch.titleOn property. (Added support for Windows Phone.)

Titanium.UI.Switch.setColormethod

Sets the value of the Titanium.UI.Switch.color property. (Added support for Windows Phone.)

Titanium.UI.Switch.setEnabledmethod

Sets the value of the Titanium.UI.Switch.enabled property. (Added support for Windows Phone.)

Titanium.UI.Switch.setTitleOffmethod

Sets the value of the Titanium.UI.Switch.titleOff property. (Added support for Windows Phone.)

Titanium.UI.Switch.setTitleOnmethod

Sets the value of the Titanium.UI.Switch.titleOn property. (Added support for Windows Phone.)

Titanium.UI.Switch.titleOffproperty

Text to display on the switch in its "off" state, when the toggle button style is in use. (Added support for Windows Phone.)

Titanium.UI.Switch.titleOnproperty

Text to display on the switch in its "on" state, when the toggle button style is in use. (Added support for Windows Phone.)

Titanium.UI.TextArea.getShowUndoRedoActionsmethod

Gets the value of the Titanium.UI.TextArea.showUndoRedoActions property. (New API, supported on iPad.)

Titanium.UI.TextArea.setShowUndoRedoActionsmethod

Sets the value of the Titanium.UI.TextArea.showUndoRedoActions property. (New API, supported on iPad.)

Titanium.UI.TextArea.showUndoRedoActionsproperty

Determinates if the undo and redo buttons on the left side of the keyboard should be displayed or not. Only valid on iOS9 and above. (New API, supported on iPad.)

Titanium.UI.TextField.getShowUndoRedoActionsmethod

Gets the value of the Titanium.UI.TextField.showUndoRedoActions property. (New API, supported on iPad.)

Titanium.UI.TextField.setShowUndoRedoActionsmethod

Sets the value of the Titanium.UI.TextField.showUndoRedoActions property. (New API, supported on iPad.)

Titanium.UI.TextField.showUndoRedoActionsproperty

Determinates if the undo and redo buttons on the left side of the keyboard should be displayed or not. Only valid on iOS9 and above. (New API, supported on iPad.)

Titanium.UI.View.backgroundImageproperty

Background image for the view, specified as a local file path or URL. (Added support for Windows Phone.)

Titanium.UI.View.getBackgroundImagemethod

Gets the value of the Titanium.UI.View.backgroundImage property. (Added support for Windows Phone.)

Titanium.UI.View.getZIndexmethod

Gets the value of the Titanium.UI.View.zIndex property. (Added support for Windows Phone.)

Titanium.UI.View.setBackgroundImagemethod

Sets the value of the Titanium.UI.View.backgroundImage property. (Added support for Windows Phone.)

Titanium.UI.View.setZIndexmethod

Sets the value of the Titanium.UI.View.zIndex property. (Added support for Windows Phone.)

Titanium.UI.View.zIndexproperty

Z-index stack order position, relative to other sibling views. (Added support for Windows Phone.)

Titanium.WatchSessionobject

Used to enable data and file transfers between a watchOS and iOS application. (New API, supported on iPhone.)

Deprecated APIs

The following APIs are deprecated in Release 5.0.0.

APITypeNotes
Titanium.App.iOS.sendWatchExtensionReplymethod

Use Titanium.App.iOS.WatchConnectivity instead, which is supported on iOS 9 and later.

Titanium.App.iOS.watchkitextensionrequestevent

Use Titanium.App.iOS.WatchConnectivity instead, which is supported on iOS9 and later.

Removed APIs

The following APIs have been removed in Release 5.0.0.

APITypeNotes
Titanium.Network.HTTPClient.addAuthFactorymethod
Titanium.UI.ListView.rowActioneventEvent renamed to editaction