iphone - compiler conditionals
- by Mike
Two questions:
this code
#ifdef __IPHONE_3_0
// iPhone 3.0 specific stuff
#else
// iPhone 2.2 specific stuff
#endif
compiles specific codes for specific versions of the iPhone. How could this be transformed to compile for a range of devices? For example: if iphone version < 3.1 or if version = 3.2, and so one...
2) where do I get a list of all conditionals allowed by Xcode?
thanks for any help.