8 Replies
      Latest reply on Jun 22, 2019 4:04 PM by KMT
      Peter2131 Level 1 Level 1 (0 points)

                if let url = URL(string:UIApplication.openSettingsURLString)

         

                { if UIApplication.shared.canOpenURL(url)

                { UIApplication.shared.open(url, options: [:], completionHandler: nil)

         

                    }

                }

         

        As from apple doc i use above method to open iphone setting from app but unfortuantely its going to app setting rather than IphoneSetting

        I am using swift version 4.2  not sure whats the issue