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))
Solved! Go to Solution.
Hi Raymond,
Seems your question is similar to this: https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-enter-credentia...
Would you mind to give AGSAuthenticationManager a try?
Thanks.
Hi Raymond,
Seems your question is similar to this: https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-it-possible-to-enter-credentia...
Would you mind to give AGSAuthenticationManager a try?
Thanks.
Thank Ting. The solution is work for me.