How do I check what device the user has, such as an iPhone 5 or an iPhone 6 or an iPad?
user device
Add a Comment
How do I check what device the user has, such as an iPhone 5 or an iPhone 6 or an iPad?
UIDevice provides some very general information here — see its
model
and
localizedModel
properties — but there’s no API that returns a a detailed marketing name for the device.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
UIDevice provides some very general information here — see its
model
and
localizedModel
properties — but there’s no API that returns a a detailed marketing name for the device.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"