2010/06/25 14:07
#if __APPLE__
#include "TargetConditionals.h"
#endif
#if TARGET_IPHONE_SIMULATOR
// jobs which should run on your simulator.
[yourObject doSomethingWithSimulator];
[yourObject doSomethingWithSimulator];
#else //TARGET_IPHONE_SIMULATOR
// jobs which should run on a real device.
[yourObject doSomethingWithDevice];
[yourObject doSomethingWithDevice];
#endif //TARGET_IPHONE_SIMULATOR


