Is there a way to determine the device running an application. I want to distinguish between iPhone
and iPod Touch
, if possible.
Look in SettingsGo to Settings > General > About. To the right of Model, you'll see the part number. To see the model number, tap the part number.
From the Devices section of your Apple ID account page, you can see all of the devices that you're currently signed in to with your Apple ID, including Android devices, consoles, and smart TVs: Sign in to appleid.apple.com,* then select Devices.
You can use the UIDevice
class like this:
NSString *deviceType = [UIDevice currentDevice].model; if([deviceType isEqualToString:@"iPhone"]) // it's an iPhone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With