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年七月
« 八    
 123
45678910
11121314151617
18192021222324
25262728293031

分类目录

Articles

Fancy Stats