Skip to content
Permalink
Browse files
CB-10606 fix deprecation warning for interfaceOrientation
This closes #82
  • Loading branch information
eymorale committed Feb 16, 2016
1 parent 2e1ec32 commit e401a4de0ffa50769e982494f5024b35a31a3380
Showing 1 changed file with 1 addition and 1 deletion.
@@ -327,7 +327,7 @@ - (void)updateBounds
CGRect imgBounds = (img) ? CGRectMake(0, 0, img.size.width, img.size.height) : CGRectZero;

CGSize screenSize = [self.viewController.view convertRect:[UIScreen mainScreen].bounds fromView:nil].size;
UIInterfaceOrientation orientation = self.viewController.interfaceOrientation;
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
CGAffineTransform imgTransform = CGAffineTransformIdentity;

/* If and only if an iPhone application is landscape-only as per

0 comments on commit e401a4d

Please sign in to comment.