问题
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];
}
In simulator (5 /5s iOS 8.1) the app open fine :
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.

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

Development target in general is - 7.0
What can be done to solve it ?
回答1:
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.
If someone blow with such a problem has to do this : In General --> App Icons and Launch Images --> Launch Images Source

press Migrate and its works (-:
I hope I was able to help those who stuck with the same problem.
来源:https://stackoverflow.com/questions/27250010/view-open-in-iphone-5s-and-5c-ios-7-1-like-iphone-4s-screen