If you want to determine if your app is running on the iPhone Simulator or on a device just put the following code somewhere in your app:
#if TARGET_IPHONE_SIMULATOR
NSLog(@"Hey there! We're running on 'iPhone Simulator'");
#elif TARGET_OS_IPHONE
NSLog(@"Attention please! We're running on an 'iOS Device");
#endif
#if TARGET_IPHONE_SIMULATOR #define MAX_PLAYER_SPEED 145.0 #elif TARGET_OS_IPHONE #define MAX_PLAYER_SPEED 333.0 #endif
