How do you know you are writting a real iPhone app?
#if TARGET_IPHONE_SIMULATOR
//do something
#else
//do the same thing as above, but different
#endif
#if TARGET_IPHONE_SIMULATOR
//do something
#else
//do the same thing as above, but different
#endif