I'm faces a problem with iPhone6' Display Zooms functionality, as on Xcode 6.1.1 simulator don't have Display Zoom functionality to test and its have standard display only.
Problem:
When I run my code on simulator and iPhone6 (with standard display) its work fine, but when I run my code on the iPhone6 (with Display Zoom functionality on) then my whole view disturbs from its original position and even UIButton are not even display or hide in this case.
Here are the two images of my scenario:
In the below image(iPhone 6 with standard display) all view is on its original position and everything is fine.
But in the following image (iPhone 6 with Display Zoom functionality is On) all things on view disturb from its original position and small ball(UIButton) around big ball are even hidden in this case.
Any help and suggestion will appreciated.
After doing a lot of searching and experiments, I was able to resolve this issue.
There are two things (I done with that specific View xib file) which help me out:
1) Uncheck the Use Auto Layout and Use Size Classes.
2) Not select any Autoresizing of that view which stretches in iPhone6' Display Zooms.
I hope this will also help other.
Thanks Cheers!
来源:https://stackoverflow.com/questions/28395842/iphone6-display-zoom-functionality-disturbs-the-whole-view