• 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
Re: iOS screen physical size (or px density)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS screen physical size (or px density)


  • Subject: Re: iOS screen physical size (or px density)
  • From: Maxthon Chan <email@hidden>
  • Date: Tue, 26 Nov 2013 22:42:30 +0800

So I think here is the equation:

If you need precise device size, you have to rely on device model, for both built-in and external screens.
To make that mapping possible, you need some method of reading the device model and search a database.
Reading model number is easy for main device screen and HDMI screen (using uname(2) and I2C respectively) but AirPlay can be trickier.
Building such an database is impossible for screens over Airplay or HDMI, let alone display settings on the device may also affect the results.
Hence, if your only concern is the main display, read uname(2) and use a small database of Apple devices.

On Nov 26, 2013, at 22:36, Igor Elland <email@hidden> wrote:

>> Probably because there’s no way to accurately know the physical screen size of a device attached via AirPlay or HDMI cable. The API would break in such cases.
>>
>> (And the same argument applies to adding more / less content on iPad mini screen because of its physical dimensions. It’s a bad UX choice IMHO)
>>
>> :: marcelo.alves
>>
>
> Precisely.
> _______________________________________________
>
> 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


_______________________________________________

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


References: 
 >iOS screen physical size (or px density) (From: Roland King <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: "Jacky.Seraph Mu" <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Roland King <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Maxthon Chan <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Roland King <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Igor Elland <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Maxthon Chan <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Roland King <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Maxthon Chan <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Marcelo Alves <email@hidden>)
 >Re: iOS screen physical size (or px density) (From: Igor Elland <email@hidden>)

  • Prev by Date: Re: iOS screen physical size (or px density)
  • Next by Date: Re: iOS screen physical size (or px density)
  • Previous by thread: Re: iOS screen physical size (or px density)
  • Next by thread: Re: iOS screen physical size (or px density)
  • Index(es):
    • Date
    • Thread