If you do not receive callbacks on willAutoRotateToInterfaceOrientation in any view controller, add the view controller as the child view controller of the root view controller.
For Eg; let's say self.viewController is your root view controller, and childViewController is a view controller in which you want to receive automatic rotation callbacks, add the following line of code;
[self.viewController addChildViewController:childViewController];
In fact, adding a child view as a controller to any view controller that receives callbacks will also work.
Hope this helps.
Suran source share