This is the error -
The following URL schemes found in your app are not in the correct formats.Please see RFC1738 for more detail.
This is my code -
@IBAction func webdropbox1(_ sender: Any) {
let safariVC = SFSafariViewController(url: NSURL(string: "www.dropbox.com")! as URL)
self.present(safariVC, animated: true, completion: nil)
safariVC.delegate = self
}
Also I have added the URL to my info.plist file -
Info.plist file screenshot:
A URL scheme is the part before the colon: http, https, ftp, mailto, file, etc.
www.dropbox.com is not a URL scheme. It's not even a valid URL.
You have two issues.