• 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: Screen Resolution and Screen Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen Resolution and Screen Size


  • Subject: Re: Screen Resolution and Screen Size
  • From: j o a r <email@hidden>
  • Date: Tue, 22 Nov 2005 07:52:50 +0100


On 22 nov 2005, at 07.38, Rolando Sacramento wrote:

I creating an app that returns information with respect to the screen size. But the problem is, I do not how to get the screen size of the current machine, ex. 14" 15" , 17" or etc...
Is there a class that can be use to get this information?

I don't think that you can get hold of this information, because I'm pretty sure that it's not something that a connected monitor reports to the computer.
I'm sure that there are some cases when you could have this info - for example you could probably figure it out for machines from Apple with built-in LCD monitors based on the model of the machine - but in the general case I would be really surprised if you could.


So, while you can access the pixel dimensions of the monitor(s), I don't think that you can calculate their "real world" resolution in dpi/ppi.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Screen Resolution and Screen Size
      • From: m <email@hidden>
References: 
 >Screen Resolution and Screen Size (From: Rolando Sacramento <email@hidden>)

  • Prev by Date: Screen Resolution and Screen Size
  • Next by Date: Re: NSURLConnection not reentrant?
  • Previous by thread: Screen Resolution and Screen Size
  • Next by thread: Re: Screen Resolution and Screen Size
  • Index(es):
    • Date
    • Thread