diff --git a/SWRevealViewController/SWRevealViewController.m b/SWRevealViewController/SWRevealViewController.m index d378d13..ff73f3d 100755 --- a/SWRevealViewController/SWRevealViewController.m +++ b/SWRevealViewController/SWRevealViewController.m @@ -761,15 +761,17 @@ - (void)viewDidAppear:(BOOL)animated _userInteractionStore = _contentView.userInteractionEnabled; } - +#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000 - (NSUInteger)supportedInterfaceOrientations +#else +- (UIInterfaceOrientationMask)supportedInterfaceOrientations +#endif { // we could have simply not implemented this, but we choose to call super to make explicit that we // want the default behavior. return [super supportedInterfaceOrientations]; } - #pragma mark - Public methods and property accessors - (void)setFrontViewController:(UIViewController *)frontViewController