what will be the output of the following code:
NSString *deviceType = [UIDevice currentDevice].model;
NSLog(@"Device Type: %@", deviceType);
in iPhone 4, it will print “iPhone” but in iPhone 4S or iPhone 5 what will be the output? I don’t have iPhone 4S or 5 device. But I need to know it for implementing calling feature in all the versions of iPhones.
thanks.
Also “iPhone”.
(documentation.)