In my project i press done button in video player then player dismiss but view stay in landscape mode. but i want all view in my apps in portrait . Only video player move both side landscape or Portrait.
I try This link but this not work for me . enter link description here
1: Rotate Portrait to Landscape in pdfreader in ios6 and ios7
First one is player when landscape mode and second when i press done button in player. Please give me solution this problems.
On the ViewController use this method it will automatically move the portaint mode