I exported a layer and features attribute to PDF using ArcGis software. And now, I would like to build an iOS app that I can load this map offline. as I just have started to use ArcGis for iOS, I tried tried this code and I could'n see this map:
override func viewDidLoad() {
super.viewDidLoad()
self.map = AGSMap(basemap: AGSBasemap.topographic())
self.mapView.map = map
let path = Bundle.main.url(forResource: "Map1", withExtension: "pdf")
let localTiledLayer = AGSArcGISTiledLayer(tileCache: AGSTileCache(fileURL: path!))
self.mapView.map = map
map.operationalLayers.add(localTiledLayer)
}
How do I load this pdf file? Thanks.