enter link description herei don't why my view controller is not presenting in full screen.. i don't know what i am doing wrong.. Any one please give some suggestion to fix this issue.. i am running in on iPod 5th generation.. Even if i run in simulator also i am getting same issue..
Asked
Active
Viewed 2,963 times
0

Nithya
- 1,029
- 2
- 14
- 27
-
Can you provide some additional information, such as the Storyboard view settings or how you are constructing the view and which device this is running on? – Hersh Bhargava May 22 '16 at 21:11
-
I have taken 1 view controller and setup all the text field and assign it as initial view controller.. – Nithya May 22 '16 at 21:40
-
What do you have for the width and height settings in the bar below the view? See this screenshot: http://cl.hb.tc/223M1c052G3l. – Hersh Bhargava May 22 '16 at 21:43
-
No i have not got like this – Nithya May 22 '16 at 22:04
-
What version of Xcode are you running? – Hersh Bhargava May 22 '16 at 22:05
-
i am using Xcode 7.3.1 – Nithya May 22 '16 at 22:15
-
Possible duplicate of [iOS 9 Xcode 7 - Application appears with black bars on top and bottom](http://stackoverflow.com/questions/32641240/ios-9-xcode-7-application-appears-with-black-bars-on-top-and-bottom) – Gruntcakes May 22 '16 at 22:15
-
Done.. Thank you it is working .. – Nithya May 22 '16 at 22:23
-
@Nithya Problem is not with your view. Actually your app is not supporting all devices and your simulator is not one of supported devices. Make sure you have included splash/launch screens for all devices. – TheTiger May 23 '16 at 09:57
3 Answers
0
You are set Launch Screen then check perfect your view because some time issue occur launch screen.

Bhadresh Kathiriya
- 3,147
- 2
- 21
- 41
-1
Try programmatically setting:
self.view.frame = [[UIScreen mainScreen] bounds]];
In your ViewController main file.
Otherwise, per this question, try creating a LaunchScreen.xib file if you are using a launch screen, or otherwise:
Go to your Target's settings and choose General, then App Icons and Launch Images. Now set "Launch Screen File" to your "main.storyboard" (or another storyboard if appropriate)

Community
- 1
- 1

Hersh Bhargava
- 615
- 4
- 19