swift open web page
if let url = URL(string: "https://www.google.com"),
UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:])
}
Also in Swift:
- swift comments
- how to style textfield swiftui
- disable button in swiftui
- special symbol ios swift
- swift move textfield when keyboard appears
- detect textfield change swiftui
- remove back button text nav bar swift
- var a = 5 b = 12 var sum = a b print( )
- how to add two right bar button item xcode
- swift retrieve value from dictionary
- swift uitableview insert cell
- swift function in a variable
- double to string swift
- swift clear user defaults
- swift go to root view controller
- Decimal to Double conversion in Swift
- swift set image size
- xcode macosx have view resize when window size changed
- how to delete from list tvos swiftui coredata
- swift check dictionary has key
- swift file size from url
- textchange in textview swift
- ios swift convert int to string
- swift how to set warning message