Horje
swift open url Code Example
swift open url
guard let url = URL(string: "http://www.google.com") else {
  return //be safe
}

if #available(iOS 10.0, *) {
    UIApplication.shared.open(url, options: [:], completionHandler: nil)
} else {
    UIApplication.shared.openURL(url)
}




Swift

Related
swift check if string contains string Code Example swift check if string contains string Code Example
delay code execution swift 5 Code Example delay code execution swift 5 Code Example
firebase crashlytics dsym missing Code Example firebase crashlytics dsym missing Code Example
How do I check if a string contains another string in Swift Code Example How do I check if a string contains another string in Swift Code Example
tellraw minecraft Code Example tellraw minecraft Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15