I am trying to gave offline access to my app. I am using ArcGis runtime 100 sdk. while implementing the same I found
//instantiate offline map task
self.offlineMapTask = AGSOfflineMapTask(portalItem: self.portalItem)
this code of line to start with. But when i did some research then found that we can use LayerUrls in place of PortalItem.
How should i replace it with layer url