iOS6和iOS7在模拟器中的显示屏幕是不同的 [英] Display screen for iOS6 and iOS7 in simulator is different

查看:129
本文介绍了iOS6和iOS7在模拟器中的显示屏幕是不同的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序我将提供部署目标6.1所以在7.0显示和6.1显示屏幕不同所以如何在6.1和7.0中调整大小

My application i will give deployment target 6.1 so in 7.0 display and 6.1 display screen different so how to adjust the size in both 6.1 and 7.0

推荐答案

主要UI差异在iOS 6和iOS 7的状态栏包含在iOS 7的viewcontroller中。这意味着您的视图控制器比iOS6大20 px。你必须调整你的项目。
首先根据iOS 6设计你的物品,这是更好的方法,你必须做很多练习,现在将每个项目的Δy设置为20.

Main UI difference in iOS 6 and iOS 7 is that status bar is included inside the viewcontroller in iOS 7. it means your view controller is 20 px greater than iOS6. you have to adjust your items. First design your items according to iOS 6 which is better way and you must have a lot of practice of doing that, now set Δy to 20 for every item.

或者根据iOS 7设计你的项目并将Δy设置为-20

Or design your items according to iOS 7 and set Δy to -20

这篇关于iOS6和iOS7在模拟器中的显示屏幕是不同的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆