CH-J Tools MobileSSH를 통한 서버 관리
메뉴
공개된 소스

CH-J Tools Mobile

특정 애플리케이션 릴리스의 디렉터리와 파일을 살펴보세요.

소스 ZIP 다운로드
CH-J / CH-J Tools Mobile 175 개 파일
sm-mobile-20261016T185235Z-8e93ecc1b59a 추가됨: · 빌드됨:
SceneDelegate.swift 추가됨: 날짜 기록 없음 1.4 KB · 33 줄
코드 파일 다운로드
1import Flutter
2import UIKit
4class SceneDelegate: FlutterSceneDelegate {
5 private var privacyCover: UIView?
6 override func scene(
7 _ scene: UIScene, willConnectTo session: UISceneSession,
8 options connectionOptions: UIScene.ConnectionOptions
9 ) {
10 super.scene(scene, willConnectTo: session, options: connectionOptions)
11 let urls = connectionOptions.urlContexts.map(\.url).filter(\.isFileURL)
12 if !urls.isEmpty { Documents.shared.receive(urls) }
13 }
14 override func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
15 super.scene(scene, openURLContexts: URLContexts)
16 let urls = URLContexts.map(\.url).filter(\.isFileURL)
17 if !urls.isEmpty { Documents.shared.receive(urls) }
18 }
19 override func sceneWillResignActive(_ scene: UIScene) {
20 super.sceneWillResignActive(scene)
21 guard let window = window else { return }
22 let cover = UIView(frame: window.bounds)
23 cover.backgroundColor = UIColor(red: 7/255, green: 17/255, blue: 31/255, alpha: 1)
24 cover.autoresizingMask = [.flexibleWidth, .flexibleHeight]
25 window.addSubview(cover)
26 privacyCover = cover
27 }
28 override func sceneDidBecomeActive(_ scene: UIScene) {
29 super.sceneDidBecomeActive(scene)
30 privacyCover?.removeFromSuperview()
31 privacyCover = nil
32 }
SHA-25607de8148e9613c3bf8dfd44b425d055e588df8374c1e1f37f1a66f0efec97cc2

CH-J Proprietary Software License 1.14 · 소스는 CH-J Proprietary Software License 1.14에 따라 제공됩니다. 소스를 공개한다고 해서 라이선스 조항이 바뀌거나 추가 권리가 부여되지는 않습니다.

압축 파일 SHA-25646e427a43e87af091004f36145590bda8fe90086dfb0f631afeb5029fb0b5655
파일