Answers for "swift code to open web page url"

1

swift open web page

if let url = URL(string: "https://www.google.com"),
        UIApplication.shared.canOpenURL(url) {
            UIApplication.shared.open(url, options: [:])
}
Posted by: Guest on March-04-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language