- Home /
Unity iPhone - Player displays differently than on iPhone
Hi all,
please see the attached image which shows how the iPhone displays my content (left), compared with how the Unity player displays everything (right). Note how it's squahsed in X when on the iPhone. Images/buttons are sprites, using SpriteManager. Why would this happen?
thanks
Mat
Answer by Mat Brummitt · Jun 27, 2010 at 11:10 PM
At last I figured it out (lots of head scratching and hair pulling later)
Camera.ResetAspect();
I don't believe I was ever actually setting aspect, but rather just setting orthographic size, but either way, ResetAspect() is your friend in this case! :)
Thanks
Mat
Your answer
Follow this Question
Related Questions
How can I access the iPhone-specific aspect ratios? 3 Answers
IOS App and Aspect Ratio 1 Answer
How Can I Get the Device Camera Aspect Ratio? 3 Answers
Camera Viewport Rect Not Work in iPhone 5? 0 Answers
iphone screen size 2 Answers