7

Apple announced a higher res display for the iPhone 4, yesterday. What does this mean for developers? More detection code and image swapping?

Can and should I just develop for iPhone 4 and let iphone 3 and down scale everything?

EDIT:

Perhaps the other way is better?

Moshe
  • 57,511
  • 78
  • 272
  • 425
  • 4
    I believe this information is currently under NDA. – Colin Gislason Jun 08 '10 at 18:15
  • 1
    possible duplicate of [How to accommodate for the different screen resolution of iPhone 4?](http://stackoverflow.com/questions/2992360/how-to-accommodate-for-the-different-screen-resolution-of-iphone-4) – Georg Fritzsche Jun 08 '10 at 19:05
  • @Colin Gislason - This question does not discuss anything that has not been publicly announced by apple. i just wanted to know opinions on scaling up or down from the developers perspective and what people suggest regarding legacy code. If there is something under NDA, please mention specifics. – Moshe Jun 08 '10 at 21:57
  • What I meant was, the factual answer is under NDA. e.g. what APIs are available. General discussion is obviously ok. Look for the answers in the "iPhone Application Programming Guide" for the new GM. – Colin Gislason Jun 09 '10 at 03:31
  • @Colin - agreed. By the way, is the GM permitted for use to submit apps to Apple? – Moshe Jun 09 '10 at 13:28
  • @Moshe From what I can tell, it is. Seems we can start submitting for iOS 4 tomorrow (June 10) and I doubt they will be releasing another version before then. – Colin Gislason Jun 09 '10 at 15:02

1 Answers1

0

Or initially the opposite? That it just pixeldoubles legacy code? Downscaling will probably look bad.

Moshe
  • 57,511
  • 78
  • 272
  • 425
Jaanus
  • 17,688
  • 15
  • 65
  • 110
  • 2
    downscaling a factor 2 always looks better than up sampling a factor 2. In the latter case you have to add non-existent information while in the former you already have all info and have to intelligently combine the excess info – Toad Jun 08 '10 at 18:19
  • If you happen to have any text in the bitmap, downscaling it could make it less readable. For example, a lowercase "m" could be downscaled into a lowercase "n" by removing critical pixels. – Kevin Panko Jun 08 '10 at 18:40
  • @Toad - I agree with Kevin here. Bitmap text will get ruined, probably. Otherwise, you are right, downscaling usually is better. – Moshe Jun 08 '10 at 19:01