--- a/ui/common/src/iosMain/kotlin/IosBrowserLauncher.kt Mon May 05 02:56:41 2025 -0400
+++ b/ui/common/src/iosMain/kotlin/IosBrowserLauncher.kt Mon May 05 03:37:00 2025 -0400
@@ -27,6 +27,9 @@
import platform.UIKit.UIApplication
+/**
+ * A [BrowserLauncher] for the iOS platform
+ */
class IosBrowserLauncher : BrowserLauncher {
override fun launchUrl(link: String) {
@@ -40,6 +43,9 @@
override fun mayLaunchUrl(vararg uris: String) {}
}
+/**
+ * Creates and [androidx.compose.runtime.remember] a [BrowserLauncher]
+ */
@Composable
actual fun rememberBrowserLauncher(): BrowserLauncher {
return remember { IosBrowserLauncher() }