CH-J SM MobileSSH کے ذریعے سرور کا انتظام
مینو
شائع شدہ سورس

CH-J SM Mobile

ایپلیکیشن کی کسی مخصوص ریلیز کی ڈائریکٹریز اور فائلیں دیکھیں۔

سورس ZIP ڈاؤن لوڈ کریں
CH-J / SM 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
فائلیں