In my iOS App I use ArcGIS-Runtime-SDK-iOS 100.0.0 with Cocoapods. i user below link to create RouteTask
self.routeTask = AGSRouteTask(url: NSURL(string: "http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World")! as URL)
when the above line of code execute it display one popup
but I don't want this popup instead i just want to pass the username and password by programatically using some url which provide me the token.
https://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route this url give me route without any credential.but problem is that it just for sanDiego and i want to use the whole world cities for routes so i use the previous link.
the above popup also display when i want to use license map
so help me on this thanks in advance.