damien.h

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

Browse Happy logo

My tweets

My GitHub Projects

 

2013 年六月
« 八    
 12
3456789
10111213141516
17181920212223
24252627282930

分类目录

Articles

Fancy Stats