当作备注
This commit is contained in:
parent
bc78a330b9
commit
34c8e6663d
@ -87,6 +87,21 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
// NotificationCenter.default.post(name: Notification.Name(rawValue: "NSZZHHasNewWindowExternal"), object: self, userInfo: ["newwindow":self.newWindow!])
|
// NotificationCenter.default.post(name: Notification.Name(rawValue: "NSZZHHasNewWindowExternal"), object: self, userInfo: ["newwindow":self.newWindow!])
|
||||||
// return UISceneConfiguration(name: "External configuration", sessionRole: connectingSceneSession.role)
|
// return UISceneConfiguration(name: "External configuration", sessionRole: connectingSceneSession.role)
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
|
||||||
|
// print("appdelegate configurationForConnecting.....")
|
||||||
|
// let sceneConfiguration: UISceneConfiguration
|
||||||
|
//
|
||||||
|
// if connectingSceneSession.role == UISceneSession.Role.windowExternalDisplayNonInteractive {
|
||||||
|
// sceneConfiguration = UISceneConfiguration.init(name: "External", sessionRole: connectingSceneSession.role)
|
||||||
|
//
|
||||||
|
// } else {
|
||||||
|
// sceneConfiguration = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return sceneConfiguration
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user