I just figure out the device on which i'm working by the code given bellow:
struct utsname systemInfo;
uname(&systemInfo);
NSLog(@"%@", [NSString stringWithCString:systemInfo.version
encoding:NSUTF8StringEncoding]);
But is there any way to find the model of my iPhone??? Thanks in advance ....