Search Unity

How to disable native iPhone 6 & iPhone 6 Plus resolution support?

Discussion in 'iOS and tvOS' started by aronsommer, Nov 3, 2014.

  1. aronsommer

    aronsommer

    Joined:
    Dec 5, 2010
    Posts:
    146
    I want to update only the plugins in my game.

    Is there a way to disable support for iPhone 6 & iPhone 6 Plus in Unity 4.5.5?

    Or do I have to use an older version of Unity?
     
  2. Smilediver

    Smilediver

    Joined:
    May 5, 2011
    Posts:
    70
    Do you want to render to a virtual res, so the final render is downscaled? If so, then in trampoline find DisplayManager.mm file and change _screen.nativeScale to _screen.scale.
     
  3. aronsommer

    aronsommer

    Joined:
    Dec 5, 2010
    Posts:
    146
    I want the game to run in scaled iPhone 5 resolution like it did before iPhone 6 & iPhone 6 Plus support was added to Unity.

    I tried to delete the iPhone 6 & iPhone 6 Plus launch images in the generated Xcode project. After testing it on my iPhone 6 it seems to do what I want.

    Is this the correct way to force the iPhone 6 & iPhone 6 Plus to run the game in scaled iPhone 5 resolution?
     
  4. Smilediver

    Smilediver

    Joined:
    May 5, 2011
    Posts:
    70
unityunity