Landscape UIWebview on a Portrait only iOS app

In a portrait only app if you want to play any videos loaded from a uiwebvew in landscape all you need to do is set the supported Interface Orientations in the app summary to allow for landscape.

Apparently thats it.  I spent 4 hrs trying to figure out a way to force a rotation after the video stopped playing but I didnt need to. The video being loaded will rotate just fine.

No extra code.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *