Search Unity

Integrate Unity3d in a UIViewController - Solved except a small problem.

Discussion in 'iOS and tvOS' started by Juan, Apr 18, 2012.

  1. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    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.
     
  2. Ripley

    Ripley

    Joined:
    Oct 27, 2012
    Posts:
    4
    Hi,

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

    Thanks
     
  3. techmage

    techmage

    Joined:
    Oct 31, 2009
    Posts:
    2,133
    I wish UT would make doing this kind of stuff with Unity more straightforward.