model no of iphone through code
+3
A:
UIDevice *myCurrentDevice = [UIDevice currentDevice];
NSLog(@"%@", [myCurrentDevice model]);
NSLog(@"%@", [myCurrentDevice systemName]);
NSLog(@"%@", [myCurrentDevice systemVersion]);
// result
iPhone
iPhone OS
3.1.2
willc2
2009-10-25 14:36:03