I have a well-known part of code to open another app from my app. And mainly it works as expected. But there is a group of users where I see an error log that shows that it doesn't work.
So, shortly, there are two iPhones and one can open URL and another can't. URL is the same.
Why it can happen and how handle it?
if UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}