在iPhone 5s屏幕上查看iPhone 5s和5c(iOS 7.1)中的打开状态 [英] View open in iPhone 5s and 5c ( iOS 7.1 ) like iPhone 4s screen

查看:91
本文介绍了在iPhone 5s屏幕上查看iPhone 5s和5c(iOS 7.1)中的打开状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用中的屏幕尺寸有问题。

I have a problem with my screen size in My app.

例如我构建具有单一视图的应用。

For example i build app that have a single view.

- (void)viewDidLoad {
[super viewDidLoad];


UIView *testView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
testView.backgroundColor = [UIColor redColor];
[self.view addSubview:testView];

}

在模拟器中(5 / 5s iOS 8.1)应用程序公开罚款:

In simulator (5 /5s iOS 8.1) the app open fine :

在我的iPhone(5s iOS 7.1)中,应用程序无法在所有屏幕上伸展:
您可以在我的打印屏幕中看到黑色。

In my iPhone ( 5s iOS 7.1 ) the app does't stretch for all the screen : You can see the black color in My print screen.

新的更新:我下载了7.1模拟器,问题仍在继续。

new update: I download 7.1 simulator and the problem continues.

一般的发展目标是 - 7.0

Development target in general is - 7.0

什么可以要解决它吗?

推荐答案

我终于能够解决问题了。

I was finally able to solve the problem.

我不知道它是否是完美的解决方案,但它适用于所有设备和所有版本。

I do not know if it's the perfect solution but it works on all devices and all versions.

如果有人遇到这样的问题必须这样做:
一般 - >应用程序图标和启动h图像 - >启动图像源

If someone blow with such a problem has to do this : In General --> App Icons and Launch Images --> Launch Images Source

按Migrate及其作品( - :

press Migrate and its works (-:

我希望我能够帮助那些坚持使用同样的问题。

I hope I was able to help those who stuck with the same problem.

这篇关于在iPhone 5s屏幕上查看iPhone 5s和5c(iOS 7.1)中的打开状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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