Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program breaks at my_shouldAutoRotate in UINavigationController+Rotations #50

Open
bilal4 opened this issue May 4, 2016 · 1 comment

Comments

@bilal4
Copy link

bilal4 commented May 4, 2016

Hi I am using NVSlideMenuController for horizontal navigation for menu from link https://github.com/nverinaud/NVSlideMenuController but the program breaks at

  • (BOOL)my_shouldAutorotate
    {
    if ([self respondsToSelector:@selector(cantAutorotate)] && self.cantAutorotate) {
    return NO;
    }
    return [self my_shouldAutorotate];
    }

will you please help me ..... I tried to run after removing the NVSlideMenuController again the app crashed in the same method giving error [UITabBarController my_shouldAutorotate]: unrecognized selector sent to instance 0x79ecd420

@JDandini
Copy link

hi I solved overriding the method on NVSlideMenuController

-(BOOL)shouldAutorotate{
   return false;
}

and that is it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants