We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 708ab87 commit 5f643d6Copy full SHA for 5f643d6
Sources/KIF/Classes/KIFSystemTestActor.m
@@ -58,7 +58,7 @@ - (void)simulateMemoryWarning
58
59
- (void)simulateDeviceRotationToOrientation:(UIDeviceOrientation)orientation
60
{
61
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 16000
+#ifdef __IPHONE_16_0
62
if (@available(iOS 16.0, *)) {
63
NSSet<UIScene *> *scenes = [[UIApplication sharedApplication] connectedScenes];
64
UIWindowScene* windowScene;
@@ -103,7 +103,7 @@ - (void)simulateDeviceRotationToOrientation:(UIDeviceOrientation)orientation
103
} else {
104
#endif
105
[[UIDevice currentDevice] setValue:@(orientation) forKey:@"orientation"];
106
107
}
108
109
0 commit comments