• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS screen physical size (or px density)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS screen physical size (or px density)


  • Subject: iOS screen physical size (or px density)
  • From: Roland King <email@hidden>
  • Date: Mon, 25 Nov 2013 20:40:44 +0800

Is there yet a supported way of finding out the actual screen size (or equivalently pixel density) on an iOS screen?

I have an app, uses autolayout, works fine on iPhone (one storyboard), iPad (another storyboard) and mostly looks fine between iPad and iPad mini. One screen however has a number of test 'cards' on it. On the phone one card == one screen looks great. On a full-sized iPad, about 6 to a page is clear, on a mini however 6 is not ideal and 4, or 3, looks much better and is much clearer to test. That's one of the fairly rare cases where one size doesn't fit all and knowing the actual screen dimensions would make a better user experience.

I know there was lots of chat about this when the mini came out, there wasn't anything then and I don't want to do one of the version or device name hacks. Is there yet an API point for this?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: iOS screen physical size (or px density)
      • From: "Jacky.Seraph Mu" <email@hidden>
    • Re: iOS screen physical size (or px density)
      • From: Steve Christensen <email@hidden>
  • Prev by Date: Re: Sending a message to a Toll free bridge
  • Next by Date: Re: CVPixelBufferCreateWithPlanarBytes does not execute callback when released
  • Previous by thread: Re: Sending a message to a Toll free bridge
  • Next by thread: Re: iOS screen physical size (or px density)
  • Index(es):
    • Date
    • Thread