matghazaryan / SOMessaging

Messaging library for iOS 7.x
MIT License
843 stars 109 forks source link

program breaks at my_shouldAutoRotate in UINavigationController+Rotations #50

Open bilal4 opened 8 years ago

bilal4 commented 8 years ago

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

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 commented 8 years ago

hi I solved overriding the method on NVSlideMenuController

-(BOOL)shouldAutorotate{
   return false;
}

and that is it