Licensing ios App

Discussion created by phanibhushanksa on Apr 3, 2018
Latest reply on Apr 3, 2018 by

I have set the license in the viewDidLoad method as shown below. Still I am getting the pop to enter my credentials everytime I run my app.


    override func viewDidLoad() {




            let result = try?AGSArcGISRuntimeEnvironment.setLicenseKey("


            print("Registration is \(result?.licenseStatus.rawValue)")








I am getting the response even if I do not enter the credentials, as the license is set and the "Developer Use Only" label is not getting displayed on the map.