Skip to content

Commit

Permalink
Merge pull request #1 from goodreads/master
Browse files Browse the repository at this point in the history
Fix for compiling against iOS 9.
  • Loading branch information
ettore committed Aug 18, 2015
2 parents 025a5fe + eabefea commit 5cf9816
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CLCGVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,11 @@ -(BOOL)shouldAutorotate


// iOS >= 6
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
#else
- (NSUInteger)supportedInterfaceOrientations {
#endif
// by default, UIInterfaceOrientationMaskAllButUpsideDown is returned on
// iPhone. Override that and let the default be the project level setting.
return UIInterfaceOrientationMaskAll;
Expand Down

0 comments on commit 5cf9816

Please sign in to comment.