added ios module
This commit is contained in:
12
ios/OralTrainer/AppDelegate.swift
Normal file
12
ios/OralTrainer/AppDelegate.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import UIKit
|
||||
|
||||
final class AppDelegate: NSObject, UIApplicationDelegate {
|
||||
static var orientationLock: UIInterfaceOrientationMask = .portrait
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
supportedInterfaceOrientationsFor window: UIWindow?
|
||||
) -> UIInterfaceOrientationMask {
|
||||
AppDelegate.orientationLock
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user