We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f251b3 + 1b466d5 commit ae07a65Copy full SHA for ae07a65
Classes/KIFSystemTestActor.m
@@ -58,7 +58,7 @@ - (void)simulateMemoryWarning
58
59
- (void)simulateDeviceRotationToOrientation:(UIDeviceOrientation)orientation
60
{
61
- [[UIDevice currentDevice] setValue:[NSNumber numberWithInt:orientation] forKey:@"orientation"];
+ [[UIDevice currentDevice] setValue:@(orientation) forKey:@"orientation"];
62
}
63
64
0 commit comments