Re: iPhone Platform Compiler Symbol?
Re: iPhone Platform Compiler Symbol?
- Subject: Re: iPhone Platform Compiler Symbol?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 14 May 2009 15:02:06 -0700
On May 14, 2009, at 2:51 PM, K. Chen wrote:
Nothing seems to indicate specifically that's it's an iPhone
platform; doesn't it? Maybe __APPLE__ is the closest I can get??
#include <Availability.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED > 0
// Code in this block is for iPhone only
#else
// Code in this block is not for iPhone
#endif
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden