1

When I run my app in Simulators it works, but when I test it with real device the view is not filling the view.

In the simulators & ipad mini 8.4 :

NSLog(@"frame Main %@",NSStringFromCGRect(self.view.frame));
 frame Main {{0, 0}, {768, 1024}}

In this screen is correctly working ,the bottom view(grey color) is showing & Screen Shot is: enter image description here

On ipad non Retina (10 inch ipad 6.3)

NSLog(@"frame Main %@",NSStringFromCGRect(self.view.frame));
 frame Main {{0, 20}, {768, 1004}}

In this screen is not working correctly,the bottom view(grey color) is not showing i'm getting the space under Navigation bar also

enter image description here

What am I doing wrong...

Test
  • 177
  • 1
  • 1
  • 13

1 Answers1

1

Try below process. Hope so it will work.

  1. You have to added Autoresizing for the specific view. look at the screen shot. enter image description here

  2. If in case in your application in Autolayout enable so that you have add left, right, top and bottom constraints.

Note : Add Launch images source for iPad

Yalamandarao
  • 3,852
  • 3
  • 20
  • 27