How do you detect multiple iphone OS, equal to and greater than, using macros?
Posted
by Jonathan
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan
Published on 2010-04-02T01:42:43Z
Indexed on
2010/04/02
1:43 UTC
Read the original article
Hit count: 371
Hi,
I am trying to execute different things depending on what os the users iPhone is using.
Currently I have the below, which says - "if the device is 3.1, post this message"
#ifdef __IPHONE_3_1
NSLog(@"this device is 3.1"); #endif
But, How can I get it to say - "If the device is 3.1 or higher, post this message" ?
Thank you very much.
© Stack Overflow or respective owner