I need to build an mobile for user to access the webmap that hosted in company enterprise portal server. The webmap is password protected. How can I pass the credential with popup user to access it?
let map = AGSMap(url: url)
// add the map to the map view
mapView.map = map
mapView.touchDelegate = self
mapView.setViewpoint(AGSViewpoint(latitude: 43.69295, longitude: -72.987547, scale: 2027.977411))