you can use shapeLib to read the file
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:
Hope this can help