Fix a compile error

This commit is contained in:
Andreas Linde
2014-11-25 16:24:44 +01:00
parent 5debc62190
commit 7219105b90

View File

@@ -149,7 +149,7 @@
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0
isPortraitOrientation = UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]);
#else
isPortraitOrientation = UIInterfaceOrientationIsPortrait(self.interfaceOrientation)
isPortraitOrientation = UIInterfaceOrientationIsPortrait(self.interfaceOrientation);
#endif
CGRect frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);