mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-03 14:17:19 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
504 B
Swift
14 lines
504 B
Swift
import UIKit
|
|
|
|
final class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
|
var window: UIWindow?
|
|
func scene(_ scene: UIScene, willConnectTo session: UISceneSession,
|
|
options connectionOptions: UIScene.ConnectionOptions) {
|
|
guard let windowScene = scene as? UIWindowScene else { return }
|
|
let window = UIWindow(windowScene: windowScene)
|
|
window.rootViewController = DemoViewController()
|
|
self.window = window
|
|
window.makeKeyAndVisible()
|
|
}
|
|
}
|