Linked by Thom Holwerda on Tue 23rd Oct 2012 19:12 UTC
Apple It's one of those days again: Apple held a product announcement today, announcing several new products. The most important of which was rumoured about for a long time now: a smaller iPad. It's called the iPad mini, and has the potential to become the best-selling iPad - and thus, the best selling tablet.
Thread beginning with comment 539744
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: resolution variability
by some1 on Tue 23rd Oct 2012 20:34 UTC in reply to "resolution variability"
some1
Member since:
2010-10-05

Yes, it's not because iOS cannot handle different resolutions at the low level (e.g. display drivers). It's because its UI toolkit does not come with a proper layout manager as standard. This makes many applications hard-code layouts for specific resolutions, making change of the resolution on new devices a pain. So it doesn't matter much that iOS could run with a different resolution. It's still not going to happen: otherwise all apps will look ugly at launch.

Android apps handle different resolutions fairly well. Of course, there's no magic that will automatically optimize your layout for different screen sizes, but similar sizes with different resolutions work fine.
iPad mini will have the size problem too -- even though the resolution matches previous 10" iPad many apps might want to use a different layout on the smaller 7" screen.

Reply Parent Score: 4

RE[2]: resolution variability
by barakedry on Tue 23rd Oct 2012 23:29 in reply to "RE: resolution variability"
barakedry Member since:
2008-07-04

UIKit does actually come with a proper layout manager, it had it from day one,
As many other things in cocoa touch it was inherited from mac UI frameworks (years back I believe from NEXT), If a developer use standard UIKit widgets (and many does) he can define layout attributes very easily from the interface builder, no need to write single line of code.
using standard view controllers doesn't even requires to define anything.
for standard UI apps all a developer has to do to support the iphone5 resolution for example may very well be just updating the splash screen image.

The reason it doesn't happen automatically is because apple wants to force developers to test the apps on the new resolutions.
The reason apple got to this unfortunate state in the first place comes from the fact that unlike android, all the iOS devices that were running iOS at the time apple opened it for third party development had the same screen and same resolution, Lots of developers were lazy and just statically positioned elements, it worked perfectly on every iOS device back then.

The situation is very different from android where from the very beginning it was obvious that android devices will come at different shapes, sizes and resolutions.

On the other hand though, the fact that developers has to test and create updated build to support new resolutions is also one of the main reasons that encourage app developers to create a proper suitable layout for the iPad form factor.
As you say, Android apps handle different resolutions fairly well, so it's good enough reason for lots of developers to leave it as it is.

Reply Parent Score: 4

RE[3]: resolution variability
by some1 on Wed 24th Oct 2012 00:28 in reply to "RE[2]: resolution variability"
some1 Member since:
2010-10-05

I don't have any iOS development experience myself, so I just relay what this guy said: http://nfarina.com/post/8239634061/ios-to-android#ui

Reply Parent Score: 2

RE[2]: resolution variability
by Moochman on Wed 24th Oct 2012 13:59 in reply to "RE: resolution variability"
Moochman Member since:
2005-07-06

iOS and Mac recently gained a new API for auto-layout called ... Auto Layout:

http://developer.apple.com/library/ios/#documentation/UserExperienc...

This should go a decent way towards assisting developers create flexible UIs. Admittedly it's a few years too late and IMHO still not as intuitive as most XML(/other UI-domain specific language)-based frameworks, but it's the best thing Apple's come up with yet.

Edited 2012-10-24 14:03 UTC

Reply Parent Score: 3

RE[3]: resolution variability
by some1 on Wed 24th Oct 2012 15:03 in reply to "RE[2]: resolution variability"
some1 Member since:
2010-10-05

Good to know that Apple is aware about this problem and has some kind of a solution. From the comments above it seems that not all its developers understand what is it about.

Reply Parent Score: 2