Re: Detect legacy OSX
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