0

Possible Duplicate:
How to detect iPhone 5 (widescreen devices)?

Do any adjustments need to be made for an app started in development prior to the iphone 5 in order for them to work on the iphone 5's larger screen?

If so, what are these changes, or where can I find what to change? google hasn't been too helpful so far.

Thanks

Community
  • 1
  • 1
JMD
  • 1,540
  • 2
  • 24
  • 56
  • [stackoverflow](http://stackoverflow.com/search?q=iphone+5+screen), it's also the first result in googling "iphone 5 screen +stackoverflow" – ohr Oct 08 '12 at 17:30
  • thats not what i was googling... – JMD Oct 08 '12 at 17:33

5 Answers5

2

After adding the Default-568h@2x.png launch image, follow the steps outlined in this post:

How to develop or migrate apps for iPhone 5 screen resolution?

If you are having issues with the images being used INSIDE the app, and you want to support iPhone 5 and pre-iPhone 5 devices, use this:

Dealing with different size images in a xib for iPhone5 versus iPhone4?

Community
  • 1
  • 1
Ravi
  • 7,929
  • 6
  • 38
  • 48
0

You need to add a default launch images with 640x1136px named Default-568h@2x.png to support the iPhone 5 screen.

pre
  • 3,475
  • 2
  • 28
  • 43
0

First, you have to have a 640x1136 launch image (with -568h@2x.png suffix) to make it compatible with the iPhone 5, but to fully make use of the larger screen, there are a many ways to do it. I find the easiest way to do it is to make two separate storyboards, making a new one for the iPhone 5, while maintaining the one you have already used for the iPhone 4S, 4, etc. Using two storyboards removes the necessity for AutoLayout; enabling AutoLayout, it is good to note, also removes iOS 5 compatibility. Use the code in this answer to get started.

Community
  • 1
  • 1
Scott
  • 110
  • 1
  • 1
  • 9
  • However, like jeffdgr8 says, if your app is made up of tableViews and scrollViews and such, I would stick with his "resize" approach using one storyboard. My suggestion is aimed at an app that uses a more customized interface – Scott Oct 08 '12 at 17:38
0

Depending on how your app views are laid out, you may not need to make too many changes. If you have views that resize and are anchored correctly, such as scroll views or table views, they will expand to fill the additional space on the iPhone 5 screen. You need to add an additional launch image for the new screen size too.

Jeff Lockhart
  • 5,379
  • 4
  • 36
  • 51
0

the iphone 5's screen is taller so you'd need to have images with a resolution of 1136x640 also included in your images folder. (add -568h@2x at the end of image's filenames)

also, everytime you will adjust your sprites and everything else that goes on the screen, you will need to account for the iphone 5 separately, just like you account for the ipad and the iphone (non retina and retina).

penguinsource
  • 1,120
  • 3
  • 16
  • 40