31 lines
707 B
Swift
31 lines
707 B
Swift
//
|
|
// vrtnuApp.swift
|
|
// vrtnu
|
|
//
|
|
// Created by Jens Timmerman on 23/09/2020.
|
|
//
|
|
|
|
import SwiftUI
|
|
import AVFoundation
|
|
|
|
@main
|
|
struct vrtnuApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
}
|
|
}
|
|
|
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
|
//let audioSession = AVAudioSession.sharedInstance()
|
|
//do {
|
|
// try audioSession.setCategory(.playback, mode: .moviePlayback)
|
|
//}
|
|
//catch {
|
|
// print("Setting category to AVAudioSessionCategoryPlayback failed.")
|
|
//}
|
|
return true
|
|
}
|
|
}
|