Possible Duplicate:
How can I programmatically determine if my app is running in the iphone simulator?
How I can check in XCode 4 with constant if my program is running in simulator o device? Something like this:
#ifdef RUNING_ON_DEVICE
#else
#endif