Skip to content

Commit

Permalink
Fixed device orientation to interface orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson12 authored and congt committed Oct 18, 2024
1 parent fbed62a commit b352a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/KIF/Classes/KIFSystemTestActor.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ - (void)simulateDeviceRotationToOrientation:(UIDeviceOrientation)orientation
orientationMask = UIInterfaceOrientationMaskPortraitUpsideDown;
break;
case UIDeviceOrientationLandscapeLeft:
orientationMask = UIInterfaceOrientationMaskLandscapeLeft;
orientationMask = UIInterfaceOrientationMaskLandscapeRight;
break;
case UIDeviceOrientationLandscapeRight:
orientationMask = UIInterfaceOrientationMaskLandscapeRight;
orientationMask = UIInterfaceOrientationMaskLandscapeLeft;
break;
case UIDeviceOrientationFaceUp:
orientationMask = UIInterfaceOrientationMaskAll;
Expand Down

0 comments on commit b352a5b

Please sign in to comment.