Your application must have a splitViewController. If you add the splitViewController view as a subview of some other kind of viewController, splitViewController will not receive rotation events.
For your problem, change the design of your application so that the general view appears only in the detailViewController part, so that it also displays in portrait mode.
If this is not possible, the only option you are left with is to create your own splitViewController so that you can add it on top of some other views and send rotation events to this splitViewController when the rotation occurs.
source share