Release notes for 200.5

This page provides details about enhancements in the 200.5 release of ArcGIS Maps SDK for Swift. It also lists deprecations, resolved issues, known issues, and more.

200.5.1

Issues Resolved

200.5

Enhancements

Geometry editor

Reticle

A ReticleVertexTool is now available for the GeometryEditor, introducing a new way of creating and editing geometries tailored for touch interactions. The tool allows a user of a touch device to clearly see where vertices will be created or moved to, without visual feedback being hidden by fingers or a stylus.

When the ReticleVertexTool is active and the GeometryEditor started, pan and zoom the map to place the reticle crosshairs at the required position, then tap to add a vertex.

Add vertices with reticle

Place the reticle over an existing vertex and tap to begin a move. Drag the map to place the reticle crosshairs at the new position, then tap a second time to complete the move.

Move vertices with reticle

This can be especially useful when using snapping with touch, allowing a user to clearly see which vertices and edges of snap source geometries will be snapped to.

Snap vertices with reticle

If your users are currently using the magnifier on touch devices to perform edits, you may wish to consider updating your app to take advantage of this new capability. When the reticle is visible, the magnifier will not appear.

Attribute editing with feature forms

Feature form attachments

The new AttachmentsFormElement allows the feature form API and toolkit component to integrate attachment editing into the form experience. When a FeatureForm object is created with a feature that has attachments enabled, the FeatureForm.defaultAttachmentsElement will be populated with a new element object that can be used along with the other elements in the FeatureForm.elements collection.

The AttachmentsFormElement allows adding, deleting, and renaming of new and existing attachments on the feature. The attachment changes are saved or discarded along with all the attribute edits made on the form.

The toolkit component also includes the ability to:

  • preview attachment thumbnails
  • download and open the full attachment for viewing
  • capture a new attachment from the device camera
  • add attachments from a file or gallery

Finish editing

The new FeatureForm.finishEditing() method has been added as a complement to FeatureForm.discardEdits(), and should be called in order to persist changes made using the form to the geodatabase. The call will automatically add or update the feature (based on whether it is a new or pre-existing feature) and persist all the attachment changes.

Check for calculated input values

The new FieldFormElement.hasValueExpression property allows API users to customize behaviors like appropriate error messages based upon whether the FieldFormElement.value is calculated or was entered by the app user.

Support for barcode scanner input

The BarcodeScannerFormInput type was added to the ArcGIS Native Maps SDK to support those API users that need to integrate with external scanning hardware. Note that the Feature Form toolkit component does not yet support elements using BarcodeScannerFormInput.

Swift feature forms

Geotriggers

Support for dynamic feature fences

If you use a FeatureCollectionTable or an ArcGISFeatureTable to create your FeatureFenceParameters and the features are updated, the GeotriggerMonitor will take into account new, updated, or deleted feature fences. This applies to features in the app that are updated locally (through offline sync), and remotely (via a feature service with a refresh interval set).

Utility network

Utility network synchronization

Utility networks can now be edited offline in a mobile geodatabase and synchronized back to an ArcGIS Enterprise 11.3 feature service. Changes made on the client app can be sent up to the feature service (this is referred to as an upload). Changes made on the feature service data can be brought down to the client's mobile geodatabase (this is referred to as a download). Both upload and download can also be completed in a single synchronized bidirectional operation.

Download-only sync is now supported on read-only sync-enabled mobile geodatabases generated with UtilityNetworkSyncMode.syncSystemAndTopologyTables from ArcGIS Enterprise 11.3 feature services with feature editing capabilities disabled. A download-only sync will automatically incorporate changes into the utility network topology.

Reconcile branch version

Branch-versioned feature services intended for offline sync will typically have sync options set to "Create a version for each download map". Creating a sync-enabled mobile geodatabase based on such a feature service creates a dedicated version for that geodatabase. This version must be reconciled with the default version in order for changes posted to the default version to be downloaded to the client on the next sync.

The new OfflineMapSyncParameters.reconcileBranchVersion and SyncGeodatabaseParameters.reconcileBranchVersion properties allow a sync call to reconcile a sync-enabled mobile geodatabase's version to the default version first in order to pull down any recently posted changes during the sync.

Use SyncCapabilities.supportsBranchVersionReconcile to determine whether the parameter is supported by the feature service.

Trace and edit offline utility networks

In ArcGIS Enterprise 11.3 feature services, mobile geodatabases can be both editable and traceable when created with both the UtilityNetworkSyncMode.syncSystemAndTopologyTables and SyncModel.geodatabase options. After an editable and traceable mobile geodatabase is edited, the utility network's topology can be validated to clean up any dirty areas so the edits are reflected in trace results.

Edit associations

Editing associations that model connectivity, containment, and structural attachment between nonspatial and non-coincident network features is now supported by ArcGIS Maps SDK for Native Apps. This requires an Advanced Editing extension license and is supported for utility networks with schema version 4 or higher.

To add a new association, construct a new UtilityAssociation object, check that it is configured correctly with UtilityNetwork.canAdd(), and then call the UtilityNetwork.add() method.

To delete an existing association, query for the UtilityAssociation object, check that deleting associations is permitted with UtilityNetwork.canDeleteAssociations, and finally call UtilityNetwork.delete(UtilityAssociation).

Validate consistency offline

Validate consistency is now supported offline. Setting UtilityTraceConfiguration.validatesConsistency() to true ensures reliability and accuracy of trace operations by throwing an error if dirty areas exist within the boundaries of the trace. Support is available for schema version 4 or higher mobile geodatabases with full utility network topology.

Validate network topology offline

Calling the UtilityNetwork.validateNetworkTopology() method is now supported for offline utility networks with full topology. Validating network topology will clean up dirty areas. This requires an Advanced Editing extension license. Check the utility network's UtilityNetworkCapabilities.supportsValidateNetworkTopology property to determine whether it supports validation.

Utility network schema version 7

Utility network schema version 7 is now supported by ArcGIS Maps SDK for Native Apps. This provides support for 64-bit Object IDs and big integer fields in addition to other enhancements. See the ArcGIS Pro documentation Upgrade to Utility Network Version 7 for details.

Indoor positioning (IPS)

IndoorPositioningDefinition

The IndoorPositioningDefinition class now has new properties that describe the origin of the data used for indoor positioning as well as the radio type.

IndoorsLocationDataSource

IndoorsLocationDataSource now allows your app to receive detailed information messages from the IPS. When listening, your app can record information messages (into a file, for example) for troubleshooting issues on the client. You can enable receiving information messages with the new setting infoMessagesAreEnabled in the IndoorsLocationDataSourceConfiguration class.

Symbology

Renderer support for ArcGIS scene layers

You can now update or set a new renderer on an ArcGISSceneLayer of type 3D object scene layer or point scene layer. The types of renderer supported by these data types are SimpleRenderer, ClassBreaksRenderer or UniqueValueRenderer.

3DObjects use a mesh symbol built with a material fill symbol layer to display. You can now create a mesh symbol using the new MultiLayerMeshSymbol symbol type and the MaterialFillSymbolLayer symbol layer type.

Full support for Arcade expressions in cluster popups

ArcGIS Maps SDKs for Native Apps now provides full support for the $aggregatedFeatures variable in the Arcade feature reduction popups. This allows access to the full set of features in a cluster when writing popup expressions.

Cartographic Information Model (CIM) specification

ArcGIS Maps SDKs for Native Apps now supports the latest CIM specification (version 3.3).

Basemaps

Disputed boundary display

A new worldview property on the BasemapStyleParameters class allows the display of different representations of disputed boundaries on a Basemap.

Dynamic basemap styles service updates

This release adds a loadable BasemapStylesService class that retrieves information about the latest features available in the service. Once loaded, the information from the service is presented in a structured and consistent manner using the BasemapStylesServiceInfo, BasemapStyleInfo, basemapstylelanguage, and Worldview classes. This enhancement allows the implementation of basemap galleries in applications that automatically add new features to the basemap styles service, without requiring a code change.

New basemap style

The ArcGIS Outdoor style is now available in the Native Maps SDKs.

KML

Extended data

ArcGIS Maps SDK for Native Apps now supports parsing of <ExtendedData> data elements, enabling the inclusion of custom metadata within KML files. This enhancement allows developers to embed and visualize additional rich metadata from their KML files.

KML can include both schema-based and non-schema extended data:

  • Schema-based data: Define and use KML schemas to structure extended data, ensuring consistency and clarity. This includes support for <Schema> and <SchemaData> elements, allowing you to define custom data structures.

  • Non-schema data: Support for arbitrary key-value pairs through the use of <Data> elements, providing flexibility for embedding a wide range of metadata without predefined schemas

Multitrack rendering

With the current release, rendering of multi-tracks in KML is supported. Multitrack <gx:MultiTrack> combines multiple individual tracks <gx:Track> into one multitrack so that they can be displayed as sections of one single path. Depending on the value of <gx:interpolate> element, the icon will stop at the end of one track and jump immediately to the start of the next one or continue on an interpolated path that is between the two tracks.

Popups

Additional formats for displaying dates in a popup are supported with this release.

PopupDateFormat enum valueExample
dayShortMonthYearLongTime"Jun 11, 2019, 9:49:00 PM"
dayShortMonthYearLongTime24"Jun 11, 2019, 21:49:00"
dayShortMonthYearShortTime"Jun 11, 2019, 9:49 PM"
dayShortMonthYearShortTime24"Jun 11, 2019, 21:49"
longDateLongTime"Tuesday, June 11, 2019, 9:49:00 PM"
longDateLongTime24"Tuesday, June 11, 2019, 21:49:00"
longDateShortTime"Tuesday, June 11, 2019, 9:49 PM"
longDateShortTime24"Tuesday, June 11, 2019, 21:49"
longMonthDayYearLongTime"June 11, 2019, 9:49:00 PM"
longMonthDayYearLongTime24"June 11, 2019, 21:49:00"
longMonthDayYearShortTime"June 11, 2019, 9:49 PM"
longMonthDayYearShortTime24"June 11, 2019, 21:49"

Licensing

Edit feature services with a Lite license for data hosted by ArcGIS Location Platform

In general, a Native SDK needs to be licensed at the Basic license level to edit features in a private feature service. In this release, we've enabled the ability to edit features in a private feature service at the Lite license level when the feature data is hosted by ArcGIS Location Platform. The data in this case, is owned by an ArcGIS Location Platform account. This new support applies for both connected and offline workflows. Feature services hosted by ArcGIS Location Platform are always private as they require authentication to access. For more information on data hosting with ArcGIS Location Platform, see the Portal and data services guide.

SDK enhancements

Preparing for Swift 6

This release makes it easier for your apps to enable Swift Complete Strict Concurrency Checking and ultimately adopt the Swift 6 Language Mode. Many of our types have been audited for thread safety and marked @Sendable so you can easily use them without worrying about data races. You can compile your apps with strict concurrency checking without resorting to @preconcurrency attribute when importing ArcGIS in order to silence concurrency warnings. Some closures in public APIs are marked as @Sendable and some APIs as @MainActor. As a result, you may need to audit your app code to compile with strict concurrency checking.

If you are not ready to transition to Complete Strict Concurrency Checking or Swift 6, you don't have to. The @preconcurrency attribute has been utilized to allow your app to incrementally adopt the latest Swift concurrency related safety measures.

Breaking API changes

There are no breaking changes in this release.

Behavior changes

  • GeometryEngine.cut() now supports true curve input geometries, preserving true curves in the result geometries.
  • GeometryEngine.geodeticBuffer() now supports true curve input geometries, producing densified curves in the result geometries.
  • GeotriggerMonitor will take into account new, updated, or deleted feature fences that are created from a FeatureCollectionTable or ArcGISFeatureTable if the features are updated locally within the app, through offline sync, or remotely (via a feature service with a refresh interval set).
  • Realistic sun: In a scene view, the sun now appears at the correct position in the sky for the specified date, time of day, and geographic location. This feature is enabled only when sunlighting is turned on the SceneView class.
  • The spatial reference of the GeoModel is now automatically adopted when loading a ServiceFeatureTable or an OGCFeatureCollectionTable belonging to a layer in that GeoModel, as long as the layer type supports changing the spatial reference. Previously, the tables were loaded in the layer's spatial reference.
  • Popup date formats that end with "LE" (little-endian) are now fixed patterns, and always use "day-month-year" order for dates regardless of the device's locale.

Deprecations

API deprecations

OS and framework deprecations

There are no OS or framework deprecations in this release.

Issues resolved

Issues addressed in this release are listed below.

  • BUG-000154793: The clone property for the feature layer does not clone the respective LabelDefinitions to a new feature layer object.
  • ENH-000158877: Allow a way to update the features in that trigger geotriggers in ArcGIS Maps SDK for Swift (NOTE: this ENH is for .NET but the enhancement is not API specific).
  • BUG-000163776: Dictionary Renderer Expression scaling renders incorrectly in 3D.
  • BUG-000166643: Repeatedly opening a SceneView intermittently crashes, when the scene has a vector tiled layer.
  • BUG-000167816: GeodatabaseFeatureTable.LoadAysnc causes Esri.ArcGISRuntime.ArcGISRuntimeException: No Data.
  • BUG-000168210: Getting a 'no-data' error when trying to load a geodatabase feature table from a mobile geodatabase.
  • BUG-000169090: Improve level of detail selection when no elevation tiles are available.
  • Issue reported on Esri Community: Handle missing ows:Constraint in WMTS Capabilities.
  • Issue reported on Esri Community: Crash when clearing image overlays from the collection.

Known issues

Changes in samples

New samples

Enhancements

Sample Viewer
  • Increased minimum deployment to iOS 16 and iPadOS 16.
    • Replaced uses of deprecated APIs, such as NavigationView and Locale.usesMetricSystem.
    • Removed the custom View.sheet modifier.
  • Updated the Categories page to:
    • Use three columns instead of two on iPad and Mac Catalyst.
    • Show the sidebar by default when the application is launched.
  • Moved the search into a new "All" category.
  • Added text to the search that shows when there are no results for the current query.
  • Added "Done" buttons in all popovers and sheets for dismissal in landscape mode.
  • Updated the API key instructions throughout the project.
  • Included an App Store link in the Samples root README.
Samples

Bug fixes

Sample Viewer
  • Enabled targeted strict concurrency and addressed related errors and warnings.
  • Corrected category titles being cut off on iPhone Pro Max.
  • Fixed the Favorites "Edit" button, which would cause samples in other categories to become untappable.
  • Worked around an issue where a MapView would jump to the bottom of its map when a keyboard was presented in landscape mode.
Samples

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.