Integrate Unity3d in a UIViewController - Solved except a small problem

I followed the steps in the link to integrate the EAGLView inside a UIVIewController and it works perfectly.

http://answers.unity3d.com/questions/40494/who-can-help-me-how-to-get-the-view-controlleruivi.html

The only problem i have now is that the Unity EAGLView seems to be rotated 90 degrees, when i have my UIVIewController in portrait the EAGLView fills the view as if it was in Landscape, and if i have my UIVIewController in landscape then Unity is rotated 90º and don’t fill the screen.

Is there a way to sync those rotations?

Thanks and cheers.

Hi,

I’m currently struggling with the same issue. Did you ever find a solution?

Thanks

I wish UT would make doing this kind of stuff with Unity more straightforward.