This is a migrated thread and some comments may be shown as answers.

Stopping iPhone 6 Plus Scaling/Zooming

6 Answers 112 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pete
Top achievements
Rank 2
Pete asked on 21 Nov 2014, 04:03 PM
Hello, I just got an iPhone 6 Plus and am testing out my apps, and they are all scaling/zooming.  What do I need to change to turn that off?  I build them with responsive design, so they will scale appropriately, and look good as websites on the phone.  How do I configure the app so that they don't auto-zoom for large iPhones?

thanks,
Pete

6 Answers, 1 is accepted

Sort by
0
Konrad
Top achievements
Rank 1
answered on 26 Nov 2014, 09:04 AM
I am also having trouble with this. I tried loading additional splash screens for the new iphones and the splash displays fine but as soon as it hides the app is back into scaled mode. How can we force it to be off?
0
Kaloyan
Telerik team
answered on 26 Nov 2014, 01:50 PM
Hi guys,

The issue is due to missing app resources files for the new devices. The AppBuilder team is currently working on the matter and we are planning to introduce a fix for it in the upcoming AppBuilder 2.7 release.

@Konrad, adding only the needed resources won't work as expected, due to the fact Cordova 3.7 is needed in order to relate them inside your project file. The Cordova update is also expected for the next AppBuilder release, so the feature should be completed.

At this stage, the AppBuilder 2.7 is scheduled for early January, so stay tuned. I hope this helps.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
domiSchenk
Top achievements
Rank 1
answered on 23 Feb 2015, 09:53 AM
does this actually work now? my app get still scaled even if i added the required resources(splash screens).

I'm running cordova 3.7 and have added all SplashScreens.


Am i doing something wrong?
0
Kaloyan
Telerik team
answered on 26 Feb 2015, 11:28 AM
Hi domiSchenk,

Basically, the fix that disables the auto-scaling on iPhones 6th generation is to add the following code in the info.plist file. This is automatically done for AppBuilder projects. However, I would kindly ask you to check if the info.plist file of your project contains the following inputs:
<dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-667h</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{375, 667}</string>
</dict>
<dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-667h</string>
    <key>UILaunchImageOrientation</key>
    <string>Landscape</string>
    <key>UILaunchImageSize</key>
    <string>{375, 667}</string>
</dict>
<dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-736h</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{414, 736}</string>
</dict>
<dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-Landscape-736h</string>
    <key>UILaunchImageOrientation</key>
    <string>Landscape</string>
    <key>UILaunchImageSize</key>
    <string>{414, 736}</string>
</dict>

If not, you may need to add them under the UILaunchImages key.

Further, as I am unable to differentiate what do you mean by " my app get still scaled", I would need to see some screenshots from the device you are experiencing the issue on. You should be able to attach such with your next reply. I am looking froward to it.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
domiSchenk
Top achievements
Rank 1
answered on 02 Mar 2015, 08:47 AM
ahh now it does work.

Looks like AppBuilder did not add this to my project.
Maybe because its an old project. but when adding this code it does work. 

Thanks for your response.
0
Tina Stancheva
Telerik team
answered on 04 Mar 2015, 04:14 PM
Hi Dominik,

We are happy to see the suggestion helped. As for AppBuilder not adding these line for you, I just wanted to note that once you edit the Info.plist file, AppBuilder will no longer change it. Once edited, the file content has to be maintained by you.

In this case, the Info.plist changes Kaloyan described had to be added in the default version of the file after iPhone 6 and 6 Plus came out. This means that if your project is older and you have edited the Info.plist file before we included the changes, they will be missing from the default structure of the file. However, if you edit the Info.plist file in a new project now, you will see that the image files dictionary is already included for you.

Regards,
Tina Stancheva
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apple iOS
Asked by
Pete
Top achievements
Rank 2
Answers by
Konrad
Top achievements
Rank 1
Kaloyan
Telerik team
domiSchenk
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or