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

2016年六月
« 八    
 12345
6789101112
13141516171819
20212223242526
27282930  

分类目录

Articles

Fancy Stats