iPhone6 Display Zoom Functionality disturbs the whole view

你。 提交于 2019-11-29 20:03:02

问题


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.


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!