Conditional compilation flag for iPhone OS 3.0
If you want to take advantage of the new APIs from iPhone SDK 3.0 while keeping compatibility with pre-3.0 devices, using the following conditional compilation flag is a good solution.
#ifdef __IPHONE_3_0 //3.0 #else //pre 3.0 #endif




