0

I have old application in iOS and I haven't been involved in development since 1 year.I have built it in iOS 7. Now I open it in XCode 7.1 and its screen size is small and static, like:

enter image description here

This is UITableview and it has to adjust view to screen accordingly. What can I do to solve this problem?

Jeyhun Karimov
  • 1,295
  • 19
  • 27

4 Answers4

2

Just add the various launch screens as mentioned in Image.xcassets

Right Click to add a new iOS launch image set enter image description here

And then add the respective launch images

enter image description here

Rajan Maheshwari
  • 14,465
  • 6
  • 64
  • 98
2

you need to only drag and drop one image default-568h@2x.png

Steps:

after download this image please rename as:"Default-568h@2x.png"

Download image > Drag and drop in Your Project > project Clean and Build > Run

Download from Here

Vvk
  • 4,031
  • 29
  • 51
0

If your table view is Visible but not fully, then You have set constarint for your tableView. Thanks...

Sommm
  • 527
  • 4
  • 22
  • If the tableview is in viewcontroller this is true, but in my case it is in tableviewcontoller , so this solution not works – Jeyhun Karimov Nov 25 '15 at 06:54
  • i tried it my xcode its Working.. i think u didnt select the tableviewController it is a viewController. if my statement is false, then set background color to tableview and check – Sommm Nov 25 '15 at 07:04
0

You need to add a splash screen with the right size, that is a splash screen with these dimensions:

Width: 640px Height: 1136px.

This will automatically adjust the view, as it is building for the old 3.5 inch screens (960px * 640px) found on the pre-iphone 5 devices.

You should also add splash screens for every other supported screen sizes, namely

  • 3.5inches (iPhone 4s and lower)
  • 4inches (iPhone 5, 5c and 5s)
  • 4.7inches (iPhone 6)
  • 5.5inches (iPhone 6 plus)
Mthokozisi
  • 171
  • 2
  • 12