You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// On iPad, some windows are user-resizable, but UIKit windows are never
114
-
// programmatically resizable.
115
-
false
125
+
#if os(visionOS)
126
+
true
127
+
#else
128
+
false
129
+
#endif
116
130
}
117
131
118
132
publicfunc setResizability(ofWindow window:Window, to resizable:Bool){
119
133
print("UIKitBackend: ignoring \(#function) call")
120
134
}
121
135
122
136
publicfunc setSize(ofWindow window:Window, to newSize:SIMD2<Int>){
123
-
print(
124
-
"UIKitBackend: ignoring \(#function) call. Current window size: \(window.bounds.width) x \(window.bounds.height); proposed size: \(newSize.x) x \(newSize.y)"
"UIKitBackend: ignoring \(#function) call. Current window size: \(window.bounds.width) x \(window.bounds.height); proposed size: \(newSize.x) x \(newSize.y)"
142
+
)
143
+
#endif
126
144
}
127
145
128
146
publicfunc setMinimumSize(ofWindow window:Window, to minimumSize:SIMD2<Int>){
0 commit comments