This commit is contained in:
2026-09-24 16:25:22 +08:00
commit 7428184f01
1198 changed files with 314515 additions and 0 deletions
@@ -0,0 +1,12 @@
import { URL } from 'Foundation';
import { UIApplication } from 'UIKit';
export function makePhone(tel : string) {
let phone = new URL(string = `tel://\(${tel})`);
if (UIApplication.shared.canOpenURL(phone!)) {
UIApplication.shared.open(phone!, options= new Map(), completionHandler= nil)
}
}