The author's project has been developed under Unity 4.3, and recently, after upgrading to Xcode6, testing on iOS8 devices found an interesting phenomenon:
Originally running a normal horizontal screen game, to the IOS8 device, became a vertical screen operation, and is still the content of the horizontal screen, the UI is a miserable. Device orientation settings in unity and Xcode are always "lanscape left" and "Lanscape right"
Unity has now been officially resolved in release 4.5.3P1 version of the issue, for the 4.5 version of children's shoes is very convenient, directly on the latest patch is good
Unfortunately, there is still no official solution for the Unity 4.3 release.
After a few searches and attempts at the forum, we finally took the temporary solution:
Modify the iphone_orientationsupport.mm file to the following two sentences in line 10th and 11-
case landscapeleft: return cgaffinetransformmakerotation (m_pi_2); case landscaperight: return cgaffinetransformmakerotation (-m_pi_2);
Replace with-
case landscapeleft: return cgaffinetransformidentity; case landscaperight: return cgaffinetransformidentity;
The problem is temporarily resolved.
Unity startup orientation handling issue in iOS8 Cross screen bug