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,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
</dict>
</plist>
@@ -0,0 +1,3 @@
{
"deploymentTarget": "12"
}
@@ -0,0 +1,16 @@
import { URL } from 'Foundation';
import { UIApplication } from 'UIKit';
export function openWeb(url : string) {
let href = new URL(string = url)
if (UTSiOS.available("iOS 16.0, *")) {
if (UIApplication.shared.canOpenURL(href!)) {
UIApplication.shared.open(href!, options= new Map(), completionHandler= nil)
}
}else{
if (UIApplication.shared.canOpenURL(href!)) {
UIApplication.shared.openURL(href!)
}
}
}