-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSceneDelegate.swift
49 lines (39 loc) · 1.41 KB
/
SceneDelegate.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// SceneDelegate.swift
// SendBird-iOS
//
// Created by Jaesung Lee on 23/08/2019.
// Copyright © 2019 SendBird. All rights reserved.
//
import UIKit
import UserNotifications
import SendBirdSDK
import AVKit
import AVFoundation
import Alamofire
import AlamofireImage
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
var identifier: String?
@available(iOS 13.0, *)
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// guard let windowScene = (scene as? UIWindowScene) else { return }
// self.window = UIWindow(windowScene: windowScene)
//
// if let window = self.window {
// let mainStoryboard = UIStoryboard.init(name: "Main", bundle: nil)
// let viewController = mainStoryboard.instantiateViewController(withIdentifier: "LoginViewController")
// window.rootViewController = viewController
// window.makeKeyAndVisible()
// identifier = session.persistentIdentifier
// }
}
@available(iOS 13.0, *)
func sceneDidEnterBackground(_ scene: UIScene) { }
@available(iOS 13.0, *)
func sceneWillEnterForeground(_ scene: UIScene) { }
@available(iOS 13.0, *)
func sceneDidBecomeActive(_ scene: UIScene) { }
@available(iOS 13.0, *)
func sceneWillResignActive(_ scene: UIScene) { }
}