CH-J SM Mobilepamamahala ng server sa pamamagitan ng SSH
Menu
Nailathalang source

CH-J SM Mobile

I-browse ang mga direktoryo at file ng isang partikular na release ng application.

I-download ang source ZIP
CH-J / SM Mobile 175 file
sm-mobile-20261016T185235Z-8e93ecc1b59a Idinagdag: · Binuo:
SceneDelegate.swift Idinagdag: Hindi naitala ang petsa 1.4 KB · 33 linya
Code I-download ang file
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 · Ibinibigay ang source sa ilalim ng CH-J Proprietary Software License 1.14. Hindi binabago ng pagiging available nito ang mga tuntunin ng lisensya at hindi ito nagbibigay ng karagdagang karapatan.

SHA-256 ng archive46e427a43e87af091004f36145590bda8fe90086dfb0f631afeb5029fb0b5655
Mga file