We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
You can still use the if statement, as in the ReadMe file, but just for visibility, i reordered the devices list in c5ebe37.
Thank you!
Sorry, something went wrong.
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: