1

I've encountered a strange behavior. I began to develop an iPhone app months ago, back when iOS8 and iPhone6 were not out. But now that I've an iPhone 6+ with iOS8, all the tableviews in my app seem to be kinda "zoomed". So I tried to copy & paste my tableview code on a new fresh project and here are the results :

My app : Cells seem to be zoomed

Test project with same code : cells are fine

We can clearly see that the tableview in my app is bigger. And as I said I'm using the exact same code to generate this TableView, so what's wrong ?

I tried to convert my app to Xcode 6 size classes but this doesn't seem to be the problem.

P.S : I'm developing my app on the last Xcode version (6.1) The cells I'm using are just standard UITableViewCell

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Ticko
  • 368
  • 1
  • 2
  • 11

1 Answers1

4

You need to include a LaunchImage .xib in your project. Otherwise the 6-Plus treats your app as running on a plain iPhone 6 and zooms it up.

See https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/LaunchImages.html

matt
  • 515,959
  • 87
  • 875
  • 1,141
  • yep, that's what i thought... it needs to be "optimized" for iphone 6 by including the properly sized launch image – nburk Nov 06 '14 at 17:39
  • It isn't really an optimization; it's just a signal to the device that you have read the docs. :) – matt Nov 06 '14 at 17:40
  • Same thing was true of the 4-inch when it first came out; without an appropriate launch image you were letterboxed as if you were running on a 3.5-inch screen. – matt Nov 06 '14 at 17:42
  • i know, that's why i put it in quotation marks ;) – nburk Nov 06 '14 at 17:43
  • @nburk I know you know! :))) – matt Nov 06 '14 at 17:44
  • Thx for the quick response and indeed it solved my problem... my bad to not read the doc entirely ;-) I'll mark as accepted when I can ! – Ticko Nov 06 '14 at 17:45