What's new in version 2.3 (update 2.3.2)
- Support for Tile and Feature services hosted on ArcGIS Online.
- *Support for tracking edits
When edit tracking is enabled, a feature layer automatically tracks and manages information such as as 1) The user who created or modified a feature and 2) The time when the feature was created or modified. This tracking information is stored along with the feature in specially designated fields. The feature layer inherits information about these designated fields from the feature service and exposes it in the API through the editFieldsInfo property. Popups automatically prevent a user from modifying these fields.
- *Support for applying owner-based access control policies while editing features
Access control policies specify whether features can be edited only by their owners, or if they can be edited by anyone; even if they belong to someone else. The feature layer inherits these policies from the feature service and exposes them in the API through methods such as canUpdateFeature: and canDeleteFeature:. Popups enforce these policies to prevent an unauthorized user from making edits to a feature.
- *Support for fine-grained editing capabilties
Fine-grained editing capabilities allow you to selectively enable or disable capabilities on the feature layer such as create, delete, or update features. A feature layer inherits these capabilities from the feature service and exposes them in the API through properties such as canCreate , canDelete, and canUpdate. Popups honor these settings by hiding UI elements associated with a disabled capability.
- Support for 5 additional languages - Norwegian, Polish, Swedish, Dutch, and Romanian. This brings the total to 16 languages.
Features marked with * are only available with feature services hosted on ArcGIS Online or on ArcGIS Server 10.1 and above
Migrating existing applications from v2.2
Migrating existing applications and projects to use the new SDK is relatively easy and straight-forward. Where possible, the new API is backwards-compatible and maintains existing behavior.
XCode Project Changes
- The properties allowEdit , allowDelete , and allowUpdateGeometry on class AGSPopupInfo have been removed and similar properties have been added to class AGSPopup as a substitute.
- The property editable on class AGSFeatureLayer has been deprecated in favor of new properties such as canUpdate , canDelete , and canCreate which provide finer-grained editing capabilities of the layer.
Updates to v2.3
This update adds support for iOS 6. We fixed a few issues that prevented popups and the map control from working correctly in iOS 6, and we recommend that you upgrade to this version if you decide to support iOS 6 devices for your application. If you have already upgraded your projects to v2.3 SDK, no additional migration steps are required to use this update. Just uninstall the previous SDK, and install the new one. The API remains unchanged from before.
If you continue to develop your applications with an older Apple iOS SDK (4.x or 5.x) , you won't be able to take advantage of new iOS 6 features or the larger iPhone 5 screen. Even when running on an iPhone 5, your app will think it's running on a iPhone Retina device (640 x 960). But since the iPhone 5 is 640 x 1136, your app will be displayed in letterbox mode with black bars on the top and bottom.
To take advantage of new iOS 6 features and target the new iPhone 5 screen dimensions, you should develop your application with the new Apple iOS 6 SDK
Make sure to remove the armv7s entry (if it exists) from the Valid Architectures setting of your XCode project. This entry is automatically added by XCode 4.5 for new projects.