I have a file with '.shp' suffix, I have read the documentation, but I haven't find how to do it.
you can use shapeLib to read the file
Shapefile C Library
We currently do not support directly reading shapefile from disk. This is planned for a future version.
In the meantime you can upload the shapefile to ArcGIS Online or Portal and create a webmap from it. Then that webmap can be displayed easily using the runtime.
Thank you very much! I have resolve this problem, I take the shapeFile above the baseMap in ArcGis Pro, then I used tool named "creat map tiled package" ,it can change the map to ".tpk" format. It is simple to display it on iPhone.
I have another request, I only find the iOS runTime SDK samples that code with Swift language, can you provide another coded with OC language?
Hi YanQi Jiao,
Here is the Objectic-C version of sample code to load the .tpk file:
arcgis-runtime-samples-ios/LocalTiledLayerSample/objective-c at 10.2.5-to-quartz · Esri/arcgis-runtime-samples-ios · Git…
Hope this can help
Retrieving data ...