Hi, is there a way to open a url on safari?
# compose-ios
t
Hi, is there a way to open a url on safari?
k
Copy code
fun openUrl(url: String?) {
    val nsUrl = url?.let { NSURL.URLWithString(it) } ?: return
    UIApplication.sharedApplication.openURL(nsUrl)
}
the full example see here: https://terrakok.github.io/Compose-Multiplatform-Wizard/
t
thank you