Release Notes

Titanium SDK 4.0.0 Beta - 02 April 2015

Contents

About This Release

This is a Beta version of Titanium SDK 4.0.0 and should not be used for production. This Release introduces a number of new features. See New Features for a summary of new features in this release.

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

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

Installation Notes

To avoid potential installation and runtime issues, install Node.js and the Appcelerator CLI before installing or updating Studio, then login into the CLI. Studio will automatically install these components if you do not already have them installed.

To install the Appcelerator CLI, run the following commands from the terminal:

npm install -g appcelerator
appc setup

Note: On Linux and OS X, you may need to prefix the npm install command with sudo.

After the appc setup command, you will be prompted for your Appcelerator Platform credentials then to authorize your computer.

Notes:

Alloy 1.6.0

This release coincides with the release of Alloy 1.6.0.

Summary of New Features:

For more details, see the Alloy Changelog.

Android Support

Due to the addition of Material Theme support in this Release, the target SDK version must be set to API 21 (Android 5.0) or greater. If you do not set the target SDK version, Android SDK 5.0 or greater must still be installed. Previously, the target SDK version could be API 14 or greater.

The Titanium SDK no longer supports deploying applications to devices running Android 3.x or less. The minimum SDK version (if used) must be set to API 14 (Android 4.0) or greater. Previously, the minimum API level was 10 (Android 2.3.x).

BlackBerry Support

Support for building and deploying to the BlackBerry OS was removed in this Release.

Studio 4.0.0

This Release coincides with the release of Studio 4.0.0.

Summary of Changes:

For more details, see the Studio Release Notes.

Notice of Feature or Behavior Changes

Facebook Module

The Facebook module was updated to use a newer version of the Facebook SDK for Android and iOS. Some APIs were removed due to changes in the native Facebook SDKs and removal of the Facebook v1.0 REST APIs.

For details, see the Migration section in the Facebook API reference.

iOS Platform

This section lists changes for the iOS platform.

iOS Attributed String

Since Android supports attributed strings, the Titanium.UI.iOS.AttributedString class is deprecated and a new Titanium.UI.AttributedString class was added. The new class behaves the same as the old class. If you currently use attributed strings in your application, just remove the iOS namespace. Note that Android only supports a subset of attributes as compared to iOS.

The Label link event now responds to a single tap rather than a long press.

iPad Split Window

In iOS 8, the iPhone now supports the SplitView class. The Titanium.UI.iPad.SplitWindow class is deprecated and a new Titanium.UI.iOS.SplitWindow class was added. Any application that uses the old iPad SplitWindow should transition to the new iOS SplitWindow.

New Features

This section describes new features introduced in Release 3.4.0.

Android Platform

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

Attributed String

As of this Release, the Android platform supports attributed strings using the Titanium.UI.AttributedString class. Previously, this feature was only available for iOS.

For more details, see the Attributed String guide.

Material Theme

Starting with this Release, the Titanium SDK exposes the Material Theme color palette attributes, introduced in Android 5.0 (Lollipop). These attributes allow you to style the status bar, action bar and several control widgets, such as toggle switches and text fields, without having to individually style each component.

To use the Material Theme with Titanium, you need to create a custom theme that extends one of the AppCompat themes, then set the color palette attributes you want to change from the default theme.

For details, see the "Material Theme" section in the Android Themes guide.

Module Lifecycle Hooks

Starting with this Release, an Android module proxy can respond to activity lifecycle events by overriding the activity lifecycle callbacks in the proxy, then in the JavaScript application, assign either a Window or TabGroup object to the proxy's lifecycleContainer property when creating the module proxy to monitor the lifecycle events of that object to trigger the module proxy's lifecycle events.

For details, see the "Activity Lifecycle Events" section in Android Module Architecture guide.

Notifications

The Titanium.Android.Notifications class exposes the following new properties:

For details, see the Android Notifications guide.

Scrollable Tabs

This Release adds support for scrollable tabs, where users can swipe to navigate between tabs in addition to tapping a tab in the tab bar. The following APIs were added:

Split Action Bar

This Release adds support for the split action bar, which displays action items in a separate bar at the bottom of the window instead of at the top. To create a split action bar, set the splitActionBar property to true when creating a Window object.

TLS Support

As of this Release, the application can specify which TLS version to use with the HTTPClient. Set the HTTPClient's tlsVersion property to one of the Titanium.Network.TLS_* constants to force the TLS version to use.

Previously, this feature was only available for iOS.

For details, see the "TLS Support" section in the HTTPClient API reference.

Video Thumbnails

The following Titanium.Media.VideoPlayer methods are exposed to the Android platform to support extracting thumbnails from a video:

Previously, this feature was only available for iOS.

Facebook Module

The Facebook module was updated to use a newer version of the Facebook SDK for Android and iOS. New features include the Like button and using the Facebook application's interface for dialogs if the Facebook app is also installed on device.

For details, see the Facebook API reference.

iOS Platform

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

Contacts

The Titanium.Contacts.Person class exposes the following new properties:

Split Window

This Release introduces the Titanium.UI.iOS.SplitWindow class to support the SplitWindow object on both iPhone and iPad devices, introduced in iOS 8. Previously, this feature was only available for iPad. This class deprecates the Titanium.UI.iPad.SplitWindow class.

Known Issues

Cannot Publish an Arrow Cloud Application from Windows

In production, if you publish an Arrow application from Windows, you will not be able to access the published URL and the CLI returns "MODULENOTFOUND Error" (API-662).

API Changes

New APIs

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

APITypeNotes
Titanium.Android.CATEGORY_ALARMproperty

Notification category indicating an alarm or timer. (New API, supported on Android.)

Titanium.Android.CATEGORY_CALLproperty

Notification category indicating an incoming call (voice or video) or similar synchronous communication request. (New API, supported on Android.)

Titanium.Android.CATEGORY_EMAILproperty

Notification category indicating an asynchronous bulk message (email). (New API, supported on Android.)

Titanium.Android.CATEGORY_ERRORproperty

Notification category indicating an error in background operation or authentication status. (New API, supported on Android.)

Titanium.Android.CATEGORY_EVENTproperty

Notification category indicating a calendar event. (New API, supported on Android.)

Titanium.Android.CATEGORY_MESSAGEproperty

Notification category indicating an incoming direct message (SMS, instant message, etc.). (New API, supported on Android.)

Titanium.Android.CATEGORY_PROGRESSproperty

Notification category indicating the progress of a long-running background operation. (New API, supported on Android.)

Titanium.Android.CATEGORY_PROMOproperty

Notification category indicating a promotion or advertisement. (New API, supported on Android.)

Titanium.Android.CATEGORY_RECOMMENDATIONproperty

Notification category indicating a specific, timely recommendation for a single thing. (New API, supported on Android.)

Titanium.Android.CATEGORY_SERVICEproperty

Notification category for a running background service. (New API, supported on Android.)

Titanium.Android.CATEGORY_SOCIALproperty

Notification category for a social network or sharing update. (New API, supported on Android.)

Titanium.Android.CATEGORY_STATUSproperty

Notification category indicating ongoing information about device or contextual status. (New API, supported on Android.)

Titanium.Android.CATEGORY_TRANSPORTproperty

Notification category indicating media transport control for playback. (New API, supported on Android.)

Titanium.Android.Notification.categoryproperty

Sets the notification's category. (New API, supported on Android.)

Titanium.Android.Notification.getCategorymethod

Gets the value of the category property. (New API, supported on Android.)

Titanium.Android.Notification.getPrioritymethod

Gets the value of the priority property. (New API, supported on Android.)

Titanium.Android.Notification.getVisibilitymethod

Gets the value of the visibility property. (New API, supported on Android.)

Titanium.Android.Notification.priorityproperty

Sets the priority of the notification. (New API, supported on Android.)

Titanium.Android.Notification.setCategorymethod

Sets the value of the category property. (New API, supported on Android.)

Titanium.Android.Notification.setPrioritymethod

Sets the value of the priority property. (New API, supported on Android.)

Titanium.Android.Notification.setVisibilitymethod

Sets the value of the visibility property. (New API, supported on Android.)

Titanium.Android.Notification.visibilityproperty

Allows user to conceal private information of the notification on the lockscreen. (New API, supported on Android.)

Titanium.Android.PRIORITY_DEFAULTproperty

Default priority if it does no fit into another priority category. (New API, supported on Android.)

Titanium.Android.PRIORITY_HIGHproperty

Use for high priority notifications like real-time chat messages. (New API, supported on Android.)

Titanium.Android.PRIORITY_LOWproperty

Use for low priority notifications like software updates. (New API, supported on Android.)

Titanium.Android.PRIORITY_MAXproperty

Use for urgent or time-critical notifications, for example, turn-by-turn directions or emergency alerts. (New API, supported on Android.)

Titanium.Android.PRIORITY_MINproperty

Use for expired events. (New API, supported on Android.)

Titanium.Android.VISIBILITY_PRIVATEproperty

Shows basic information about the notification. (New API, supported on Android.)

Titanium.Android.VISIBILITY_PUBLICproperty

Shows the notification's full content on the lockscreen. This is the system default if visibility is left unspecified. (New API, supported on Android.)

Titanium.Android.VISIBILITY_SECRETproperty

Shows the most minimal information of the notification on the lockscreen. (New API, supported on Android.)

Titanium.Contacts.Person.alternateBirthdayproperty

Alternate birthday of the person. Single Dictionary. (New API, supported on iPhone and iPad.)

Titanium.Contacts.Person.getAlternateBirthdaymethod

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

Titanium.Contacts.Person.getSocialProfilemethod

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

Titanium.Contacts.Person.setAlternateBirthdaymethod

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

Titanium.Contacts.Person.setSocialProfilemethod

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

Titanium.Contacts.Person.socialProfileproperty

Social profile information of the person. Multi-value. (New API, supported on iPhone and iPad.)

Titanium.Media.VIDEO_TIME_OPTION_CLOSEST_SYNCproperty

Use the closest sync (or key) frame at given the time. (New API, supported on Android.)

Titanium.Media.VIDEO_TIME_OPTION_NEAREST_KEYFRAMEproperty

Use the closest keyframe in the time. (Added support for Android.)

Titanium.Media.VIDEO_TIME_OPTION_NEXT_SYNCproperty

Use the sync (or key) frame located right after or at given the time. (New API, supported on Android.)

Titanium.Media.VIDEO_TIME_OPTION_PREVIOUS_SYNCproperty

Use the sync (or key) frame located right before or at given the time. (New API, supported on Android.)

Titanium.Media.VideoPlayer.cancelAllThumbnailImageRequestsmethod

Cancels all pending asynchronous thumbnail requests. (Added support for Android.)

Titanium.Media.VideoPlayer.requestThumbnailImagesAtTimesmethod

Asynchronously request thumbnail images for one or more points in time in the video. (Added support for Android.)

Titanium.Network.HTTPClient.tlsVersionproperty

Sets the TLS version to use for handshakes. (Added support for Android.)

Titanium.Network.TLS_VERSION_1_0property

Constant value specifying TLS version 1.0 for SSL. (Added support for Android.)

Titanium.Network.TLS_VERSION_1_1property

Constant value specifying TLS version 1.1 for SSL. (Added support for Android.)

Titanium.Network.TLS_VERSION_1_2property

Constant value specifying TLS version 1.2 for SSL. (Added support for Android.)

Titanium.Proxy.getLifecycleContainermethod

Gets the value of the lifecycleContainer property. (New API, supported on Android.)

Titanium.Proxy.lifecycleContainerproperty

The Window or TabGroup whose Activity lifecycle should be triggered on the proxy. (New API, supported on Android.)

Titanium.Proxy.setLifecycleContainermethod

Sets the value of the lifecycleContainer property. (New API, supported on Android.)

Titanium.UI.ATTRIBUTE_BACKGROUND_COLORproperty

Use with Attribute.type to specify a background color. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_BASELINE_OFFSETproperty

Use with Attribute.type to apply a different baseline to the text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_EXPANSIONproperty

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

Titanium.UI.ATTRIBUTE_FONTproperty

Use with Attribute.type to specify a font. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_FOREGROUND_COLORproperty

Use with Attribute.type to specify a font color. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_KERNproperty

Use with Attribute.type to specify kerning (space between characters). (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LETTERPRESS_STYLEproperty

Use with Attribute.value to use a letterpress text effect. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LIGATUREproperty

Use with Attribute.type to enable or disable ligatures. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_LINKproperty

Use with Attribute.type to create a link. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_OBLIQUENESSproperty

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

Titanium.UI.ATTRIBUTE_SHADOWproperty

Use with Attribute.type to display a shadow behind the text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_STRIKETHROUGH_COLORproperty

Use with Attribute.type to change the color of the horizontal line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_STRIKETHROUGH_STYLEproperty

Use with Attribute.type to place a horizontal line through the text. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_STROKE_COLORproperty

Use with Attribute.type to specify a color for the stroke text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_STROKE_WIDTHproperty

Use with Attribute.type to specify the width of the stroke text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_TEXT_EFFECTproperty

Use with Attribute.type to apply a text effect. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINES_STYLEproperty

Use with Attribute.type to place a horizontal line under the text. (New API, supported on Android, iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_BY_WORDproperty

Use with Attribute.value to draw a line only underneath or through words. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_COLORproperty

Use with Attribute.type to change the color of the horizontal line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASHproperty

Use with Attribute.value to draw a dashed line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOTproperty

Use with Attribute.value to draw an alternating line of dashes and dots. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT_DOTproperty

Use with Attribute.value to draw an alternating line of dashes and two dots. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DOTproperty

Use with Attribute.value to draw a dotted line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_SOLIDproperty

Use with Attribute.value to draw a solid line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_DOUBLEproperty

Use with Attribute.value to draw a double line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_NONEproperty

Use with Attribute.value to not draw a line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_SINGLEproperty

Use with Attribute.value to draw a single line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_THICKproperty

Use with Attribute.value to draw a thick line. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTIONproperty

Use with Attribute.type to control the direction of the text. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_EMBEDDINGproperty

Use with Attribute.value to use the embedded text direction. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_LEFT_TO_RIGHTproperty

Use with Attribute.value to write text left to right. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_NATURALproperty

Use with Attribute.value to use the Unicode Bidirection Algorithm rules P2 and P3 to determine which direction to use. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_OVERRIDEproperty

Use with Attribute.value to override the text direction. (New API, supported on iPhone and iPad.)

Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_RIGHT_TO_LEFTproperty

Use with Attribute.value to write text right to left. (New API, supported on iPhone and iPad.)

Titanium.UI.Android.SWITCH_STYLE_SWITCHproperty

Display a switch. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.canceledOnTouchOutsideproperty

When cancelable is set to true and this is set to true, the dialog is canceled when touched outside the window's bounds. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.getCanceledOnTouchOutsidemethod

Gets the value of the canceledOnTouchOutside property. (New API, supported on Android.)

Titanium.UI.Android.ProgressIndicator.setCanceledOnTouchOutsidemethod

Sets the value of the canceledOnTouchOutside property. (New API, supported on Android.)

Titanium.UI.AttributedStringobject

An attributed string proxy manages character strings and associated sets of attributes (for example, font and foregroundcolor) that apply to individual characters or ranges of characters in the string. (New API, supported on iPhone, iPad and Android.)

Titanium.UI.Label.attributedStringproperty

Specify an attributed string for the label. (Added support for Android.)

Titanium.UI.Label.linkevent

Fired when user interacts with a URL in the Label. (Added support for Android.)

Titanium.UI.Tab.selectedevent

Fired when the tab is selected. (New API, supported on Android.)

Titanium.UI.Tab.unselectedevent

Fired when the tab is unselected. (New API, supported on Android.)

Titanium.UI.TabGroup.disableTabNavigationmethod

Disable (or re-enable) tab navigation. If tab navigation is disabled, the tabs are hidden and the last selected tab window is shown. (New API, supported on Android.)

Titanium.UI.TabGroup.getSmoothScrollOnTabClickmethod

Gets the value of the smoothScrollOnTabClick property. (New API, supported on Android.)

Titanium.UI.TabGroup.getSwipeablemethod

Gets the value of the swipeable property. (New API, supported on Android.)

Titanium.UI.TabGroup.setSmoothScrollOnTabClickmethod

Sets the value of the smoothScrollOnTabClick property. (New API, supported on Android.)

Titanium.UI.TabGroup.setSwipeablemethod

Sets the value of the swipeable property. (New API, supported on Android.)

Titanium.UI.TabGroup.smoothScrollOnTabClickproperty

Boolean value indicating if changing pages by tab clicks is animated. (New API, supported on Android.)

Titanium.UI.TabGroup.swipeableproperty

Boolean value indicating if tab navigation can be done by swipes, in addition to tab clicks. (New API, supported on Android.)

Titanium.UI.TextArea.attributedStringproperty

TextArea attributed string. (Added support for Android.)

Titanium.UI.TextField.attributedHintTextproperty

Hint text attributed string. (Added support for Android.)

Titanium.UI.TextField.attributedStringproperty

TextField attributed string. (Added support for Android.)

Titanium.UI.WebView.enableJavascriptInterfaceproperty

Enable adding javascript interfaces internally to webview prior to JELLY_BEAN_MR1 (Android 4.2) (New API, supported on Android.)

Titanium.UI.WebView.getEnableJavascriptInterfacemethod

Gets the value of the enableJavascriptInterface property. (New API, supported on Android.)

Titanium.UI.WebView.onLoadResourceevent

Fired when loading resource. (New API, supported on Android.)

Titanium.UI.Window.getSplitActionBarmethod

Gets the value of the splitActionBar property. (New API, supported on Android.)

Titanium.UI.Window.splitActionBarproperty

Boolean value to enable split action bar. (New API, supported on Android.)

Titanium.UI.createAttributedStringmethod

Creates and returns an instance of Titanium.UI.AttributedString. (New API, supported on iPhone, iPad and Android.)

Titanium.UI.iOS.SplitWindowobject

A SplitWindow is a window that manages the presentation of two side-by-side view controllers. (New API, supported on iPhone and iPad.)

Titanium.UI.iOS.createSplitWindowmethod

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

Deprecated APIs

The following APIs are deprecated in Release 4.0.0.

APITypeNotes
Titanium.UI.iOS.ATTRIBUTE_BACKGROUND_COLORproperty

Use the Titanium.UI.ATTRIBUTE_BACKGROUND_COLOR constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_BASELINE_OFFSETproperty

Use the Titanium.UI.ATTRIBUTE_BASELINE_OFFSET constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_EXPANSIONproperty

Use the Titanium.UI.ATTRIBUTE_EXPANSION constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_FONTproperty

Use the Titanium.UI.ATTRIBUTE_FONT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_FOREGROUND_COLORproperty

Use the Titanium.UI.ATTRIBUTE_FOREGROUND_COLOR constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_KERNproperty

Use the Titanium.UI.ATTRIBUTE_KERN constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_LETTERPRESS_STYLEproperty

Use the Titanium.UI.ATTRIBUTE_LETTERPRESS_STYLE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_LIGATUREproperty

Use the Titanium.UI.ATTRIBUTE_LIGATURE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_LINKproperty

Use the Titanium.UI.ATTRIBUTE_LINK constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_OBLIQUENESSproperty

Use the Titanium.UI.ATTRIBUTE_OBLIQUENESS constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_SHADOWproperty

Use the Titanium.UI.ATTRIBUTE_SHADOW constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_STRIKETHROUGH_COLORproperty

Use the Titanium.UI.ATTRIBUTE_STRIKETHROUGH_COLOR constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_STRIKETHROUGH_STYLEproperty

Use the Titanium.UI.ATTRIBUTE_STRIKETHROUGH_STYLE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_STROKE_COLORproperty

Use the Titanium.UI.ATTRIBUTE_STROKE_COLOR constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_STROKE_WIDTHproperty

Use the Titanium.UI.ATTRIBUTE_STROKE_WIDTH constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_TEXT_EFFECTproperty

Use the Titanium.UI.ATTRIBUTE_TEXT_EFFECT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINES_STYLEproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINES_STYLE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_BY_WORDproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_BY_WORD constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_COLORproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_COLOR constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_PATTERN_DASHproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOTproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT_DOTproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DASH_DOT_DOT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_PATTERN_DOTproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_DOT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_PATTERN_SOLIDproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_PATTERN_SOLID constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_STYLE_DOUBLEproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_DOUBLE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_STYLE_NONEproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_NONE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_STYLE_SINGLEproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_SINGLE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_UNDERLINE_STYLE_THICKproperty

Use the Titanium.UI.ATTRIBUTE_UNDERLINE_STYLE_THICK constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTIONproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_EMBEDDINGproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_EMBEDDING constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_LEFT_TO_RIGHTproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_LEFT_TO_RIGHT constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_NATURALproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_NATURAL constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_OVERRIDEproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_OVERRIDE constant instead (without the iOS namespace).

Titanium.UI.iOS.ATTRIBUTE_WRITING_DIRECTION_RIGHT_TO_LEFTproperty

Use the Titanium.UI.ATTRIBUTE_WRITING_DIRECTION_RIGHT_TO_LEFT constant instead (without the iOS namespace).

Titanium.UI.iOS.Attributeobject

use Attribute instead.

Titanium.UI.iOS.AttributedStringobject

use Titanium.UI.AttributedString instead.

Titanium.UI.iOS.createAttributemethod

use Attribute instead.

Titanium.UI.iOS.createAttributedStringmethod

use Titanium.UI.AttributedString instead.

Titanium.UI.iPad.SplitWindowobject

Use Titanium.UI.iOS.SplitWindow instead.

Titanium.UI.iPad.createSplitWindowmethod

Use Titanium.UI.iOS.SplitWindow instead.

Removed APIs

The following APIs have been removed in Release 4.0.0.

APITypeNotes
Titanium.App.keyboardFrameChangedevent

Renamed to keyboardframechanged (all lowercase).

Titanium.UI.Window.getUrlmethod
Titanium.UI.Window.urlproperty
Titanium.UI.iOS.COLOR_SCROLLVIEW_BACKGROUNDproperty
Titanium.UI.iOS.COLOR_UNDER_PAGE_BACKGROUNDproperty
Titanium.UI.iOS.COLOR_VIEW_FLIPSIDE_BACKGROUNDproperty
Titanium.UI.iOS.SplitWindow.getUrlmethod
Titanium.UI.iOS.SplitWindow.urlproperty
Titanium.UI.iPad.SplitWindow.getUrlmethod
Titanium.UI.iPad.SplitWindow.urlproperty