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 ?