I am trying to set interface orientation only MPMoviePlayerController
is active. Meanwhile, a movie started to play. In the target of the project, I have checked Portrait
, Landscape Left
and Landscape Right
. Also, in the AppDelegate file, I have implemented supportedInterfaceOrientationsForWindow
method and I tried to check presentedViewController
is a MPMoviePlayerController
. However, I could not implement it correctly.
How can I solve my problem with the correct way ?
What is the best solution changing supported interface orientation when MPMoviePlayerController is active ?
Thank you for your answers
King regards