iOS Question How can I get the name and version of the device ?

MitchBu

Well-Known Member
Licensed User
Longtime User
I tried the code posted by @Erel here:

It does not recognize my iPad Air 2. It only says "iPad".

How can I modify the code to recognize "iPad Air 2" ? I am not too comfortable in Java.
 
Upvote 0

roumei

Active Member
Licensed User
See the link in post #2 for the current version. If your device is not included, it shouldn't be too compliacted to change the Objective-C code.
 
Upvote 0

roumei

Active Member
Licensed User
See the link in post #2 for the current version.
There are two iPad Air 2:
Objective-C:
@"iPad5,3"  :@"iPad Air 2 Wifi",  // 2nd Generation iPad Air - Wifi (model A1566)
@"iPad5,4"  :@"iPad Air 2 Wifi + Cellular ",  // 4th Generation iPad Mini - Wifi + Cellular (model A1567)
 
Upvote 0
Top