Reputation: 9143
I have a very old xcode/objective-c iOS project. I tried to compile it on the lastest Xcode version and it works fine. On big iPhones, the application is streched to fit in bigger screen.
I tried to create a new Xcode projet and drag all my source files in the new project. I removed storyboard. It works, but the application is not stretched. I see 2 black bands at the top and the bottom of the screen.
What i want is just to understand which parameter i have to changed in the project. This is not a storyboard or size classes issue because i have no storyboard or xib files. I tried to change iOS version déployment target.
Thanks
Upvotes: 0
Views: 104
Reputation: 44
Add launch images of of accurate sizes as follows for iOS 8 and later.
Goto launchScreen in the XCAssets, you can see these options on the right pane see the image attached.
and add images with size :- Image type Size Retina HD 5.5″ 1242 × 2208 pixels Retina HD 4.7″ 750 × 1334 pixels
Upvotes: 1