I have two view Controllers added as a sub-view in the UIWindow. Now the problem is one of the view gets view rotation calls but second is not getting calls for view changing orientation.
Now my problem is how we can get change orientation call for two different view controllers added in UIWindow.
I have two view Controllers added as a sub-view in the UIWindow. Now the
Share
UIWindowonly sends rotation messages to itsrootViewController. If you want the other view controller to receive them, you have two options:rootViewControllersend the rotation messages to the other view controller.