Showing
1 changed file
with
9 additions
and
0 deletions
| ... | @@ -489,6 +489,15 @@ var timer2: DispatchSourceTimer? | ... | @@ -489,6 +489,15 @@ var timer2: DispatchSourceTimer? |
| 489 | } | 489 | } |
| 490 | } | 490 | } |
| 491 | } | 491 | } |
| 492 | + | ||
| 493 | + // Example Deeplink: tel:%202109233182 | ||
| 494 | + if redirectedUrl.absoluteString.contains("tel:") { | ||
| 495 | + if UIApplication.shared.canOpenURL(redirectedUrl) { | ||
| 496 | + UIApplication.shared.open(redirectedUrl, options: [:], completionHandler: nil) | ||
| 497 | + decisionHandler(.cancel) | ||
| 498 | + return | ||
| 499 | + } | ||
| 500 | + } | ||
| 492 | } | 501 | } |
| 493 | 502 | ||
| 494 | // } | 503 | // } | ... | ... |
-
Please register or login to post a comment