mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-16 01:08:59 +00:00
spm support
This commit is contained in:
@@ -463,7 +463,9 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
|
||||
}
|
||||
|
||||
open func onLinkPressed(url: URL) {
|
||||
UIApplication.shared.openURL(url)
|
||||
if UIApplication.shared.canOpenURL(url) {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
|
||||
open func playSound(_ systemSoundId: SystemSoundID) {
|
||||
|
||||
Reference in New Issue
Block a user