I am implementing a response web application that can also be used on mobile.
I want to implement a push notification service, and I plan to implement it using an external SNS application called Kakao Talk.
A message containing a deep link is sent to the user on KakaoTalk, and when the user clicks this deep link, I want to display a safari looking at my homepage on the mobile phone screen.
Like these,
I want to know if the way I want to implement is possible or if there is another way to implement this business logic equally.
Try Like This
func openURL(url: URL) {
guard UIApplication.shared.canOpenURL(url) else {return}
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}