简体   繁体   中英

iPhone6 Display Zoom Functionality disturbs the whole view

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM