Hi Esri Community!
In my app i'm still using the old ArcGis Runtime iOS SDK 100.15.3. For what I need to do is awesome and it works like a charm. I'm planning to update to latest version later on but for now, i would like to ask you all a problem that I'm facing right now and can't figure out any solution to this.
In my app, i'm talking to a AGSPortal that exposes me two AGSPortalItem, one is a 2D Map and another one is a 3D Scene. In the app then, i've created a page where you can switch between 2D and 3D freely with a simple button.
Now, i would like to give users the ability to download portions of the 2D map on demand (in case they want to go fully offline or they want to see the 2D map in an area not covered by radio signal).
To do this, i've created a page where users will see a red square on top of the map and, once they tap on the "download" button, the portion of the map inside that red square will be downloaded. To do this, i'm relying on the "generateOfflineMapJob" that works like a charm and i can see the downloaded map as soon as the process is completed.
Now comes the question: I'm downloading all these maps in a specific folder called "/offlineMaps/" ..and each map has its own folder that goes by the name of the timestamp of the moment i've downloaded the app. So the default URL will be "filepathinsidetheiPhone/offlineMaps/1696434236". Inside this folder i can see all files downloaded by the generateOfflineMapJob by Esri SDK.
What i would like to achieve is that, once the map is downloaded, if i close and re-open the app, i would like to give users the possibility to select one of these offlineMaps downloaded on the disk and open it without re-downloading. How can i do that? i can't find any guide for this at all 😞
Is this even possible?
Thanks a lot for the help and really looking forward to hearing from you all people!
Flavio.