Is there a way to restrict view rotation to only one view controller?
For example the rest of the app stays in portrait mode but one view can be in either landscape or portrait mode.
Is there a way to restrict view rotation to only one view controller? For
Share
Use this delegate method to control the rotation,
return YES for the orientations you want to support and NO for others. You can implement this in all the view controllers.