Hello!I am not able to do an functional example of closest facility in ios.
Someone who has solved it?
Thank you for your question. Using the AGSClosestFaciltyTask is very similar to the other task-based APIs, such as the AGSRouteTask (routing) or the AGSLocatorTask (geocoding). Samples for those can be found in the ArcGIS Runtime Samples app for iOS: GitHub - Esri/arcgis-runtime-samples-ios: Swift samples demonstrating various capabilities of ArcGIS Runtime SDK for iOS
Specifically, for routing:
arcgis-runtime-samples-ios/FindRouteViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub
And for geocoding:
arcgis-runtime-samples-ios/FindAddressViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub
If those don't help, please post the code you're having problems with and I'll take a look.
Retrieving data ...