(NSUInteger)supportedInterfaceOrientations is not getting called in a custom framework which I have used in my project's UIViewController, while in separate project it is working fine and getting called properly
(BOOL)shouldAutorotate { return YES; }
(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskPortrait; }
(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return UIInterfaceOrientationPortrait; }
Is there any way to get it called through a custom framework in a project?