We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16db05a commit 45eb035Copy full SHA for 45eb035
1 file changed
app/src/main/swift/Views/Settings/PadLayoutEditView.swift
@@ -350,7 +350,7 @@ private func requestOrientation(_ mask: UIInterfaceOrientationMask) {
350
if #available(iOS 16.0, *) {
351
for case let scene as UIWindowScene in UIApplication.shared.connectedScenes {
352
guard scene.activationState == .foregroundActive || scene.activationState == .foregroundInactive else { continue }
353
- let preferences = UIWindowSceneGeometryPreferences.iOS(interfaceOrientations: mask)
+ let preferences = UIWindowScene.GeometryPreferencesIOS(interfaceOrientations: mask)
354
scene.requestGeometryUpdate(preferences) { error in
355
NSLog("@@PAD_LAYOUT@@ orientation request failed: %@", error.localizedDescription)
356
}
0 commit comments