How to detected iPhone5 or iPhone 5C?
Closed this issue · 1 comments
mrgaolei commented
I found iPhone5 and iPhone 5C are the same DeviceVersion NSInteger.
Your code:
typedef NS_ENUM(NSInteger, DeviceVersion){
iPhone4 = 3,
iPhone4S = 4,
iPhone5 = 5,
iPhone5C = 5,
iPhone5S = 6,
iPhone6 = 7,
iPhone6Plus = 8,
How can my app know user's device is iPhone 5C?