How do you detect multiple iphone OS, equal to and greater than, using macros?
- by Jonathan
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.