Re: iOS screen physical size (or px density)
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