bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
26 lines
701 B
Swift
26 lines
701 B
Swift
import SwiftUI
|
|
import AVFoundation
|
|
import CoreLocation
|
|
import CoreMotion
|
|
|
|
@main
|
|
struct QuixZoomCaptureApp: App {
|
|
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
}
|
|
}
|
|
}
|
|
|
|
class AppDelegate: NSObject, UIApplicationDelegate {
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
|
// Begär tillstånd för kamera, mikrofon, plats
|
|
AVCaptureDevice.requestAccess(for: .video) { _ in }
|
|
AVCaptureDevice.requestAccess(for: .audio) { _ in }
|
|
|
|
return true
|
|
}
|
|
}
|