Though it is relatively straightforward to determine if an iPhone is on Wifi or a data network programmatically in your application, I can\'t figure out a way to determine i
one way you can detect iPhone 2G for sure is to look at the device name as reported by the OS
#import
+ (NSString *)deviceType {
struct utsname u;
uname(&u);
NSString *returnValue = [NSString stringWithFormat:@"%s", u.machine];
return returnValue;
}
the return value you are looking for is "iPhone1,1" to indicated iPhone 2G. combine this with the Reachability project to tell when they're on a cell network and you you have 1 avenue to guarantee that they are on an edge connection