Running under simulator

Hi everyone,
Is there a code snippet to tell if the application is running in the simulator or on the actual device?
thanks
tony
Advertisement
Reply

Yes, thank you...
I implemented it in this way....
NSString *device = [[UIDevice currentDevice] model];
if ([device isEqualToString:@"iPod touch"])
else
thanks for the direction
take care
tony
Message was edited by: alt-088