How do I get device model, for example MC769LL/A (needed for iOS 8 and above)

Hi,


I am currently looking for a way to get the device model number in Swift. I only need it for iOS 8 and above. I am creating an app that tells system information and specs based upon this model number, but I need to be able to get the model number. I have seen how to get the model identifier, such as iPhone5,2 but I am looking for the actual model that is displayed in Settings>General>About, like MC769LL/A. Any help is appreciated!


Thanks!

There is no supported way to get device model numbers (in Swift or not).

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Is there still no supported way to get this?

How do I get device model, for example MC769LL/A (needed for iOS 8 and above)
 
 
Q