Hacker News new | ask | show | jobs
by pkaler 5088 days ago
Nope. iOS 6 adds auto layout to Interface Builder and Core Layout to the runtime. You'll either start at the largest resolution and setup constraints as the screen size shrinks or at the smallest resolution and do the opposite.
1 comments

Isn't this how it's done in the Android world (and chastised by iOS developers)? Really, I'd like to know.
in android, one provides four different density-specific resources.

  ldpi:  low-density screens (~120dpi)
  mdpi:  medium-density (~160dpi) [baseline]
  hdpi:  high-density (~240dpi)
  xhdpi: extra high-density (~320dpi)
there is a nodpi qualifier which is intended for density-independent resources.

there are also screen size qualifiers, small, normal, large, extra large.

These screen size qualifiers have been deprecated beginning with Android 3.2 (HoneyComb). See best practices on Android developers site: http://developer.android.com/guide/practices/screens_support...
i never used the screen-size qualifiers myself, but good to know they've deprecated them in favor of what seems to be simpler.

AFAIK, the density qualifiers are still being used, and are mentioned in the "new" design guidelines document as well, giving me the impression they may stick around for a while. http://developer.android.com/design/style/devices-displays.h...