• 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: Detect legacy OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect legacy OSX


  • Subject: Re: Detect legacy OSX
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 21 Aug 2007 18:06:22 -0600


On Aug 21, 2007, at 5:59 PM, Andrew James wrote:

I am trying to find a method to detect if the OS version is less than 10.4, however i do not want to block 10.5 and such users as well as the OS version is retrieved as 10.x.xx so a simple < will not work.

How do you guys detect it?

Use Gestalt() with gestaltSystemVersion.

If you're looking to totally lock users out of the app, then use the LSMinimumSystemVersion key in Info.plist. Note that systems older than Jaguar ignore that key (but there are very few of them still around), and there's a bug in Panther where it will not display a warning when the application does not launch.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: Detect legacy OSX
      • From: Uli Kusterer <email@hidden>
References: 
 >Detect legacy OSX (From: Andrew James <email@hidden>)

  • Prev by Date: Detect legacy OSX
  • Next by Date: Re: Detect legacy OSX
  • Previous by thread: Detect legacy OSX
  • Next by thread: Re: Detect legacy OSX
  • Index(es):
    • Date
    • Thread