views:

105

answers:

2

I dont know for which iPhone OS I am compiling my code, 3.0 or 2.2...

A: 

Check your target in your build config in xCode.

phoebus
Thank You! I set the active SDK from iPhone Simulator 2.2 to iPhone Simulator 3.0
Minar
A: 
 #ifdef __IPHONE_3_0
   NSLog(@"THE 3.0 SDK");
 #endif
oxigen