Skip to content

Instantly share code, notes, and snippets.

@hanayashiki
Last active January 20, 2023 16:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanayashiki/c6d5e00d74b96772204cbe8c35b8a120 to your computer and use it in GitHub Desktop.
Save hanayashiki/c6d5e00d74b96772204cbe8c35b8a120 to your computer and use it in GitHub Desktop.
A dictionary of different iPhone screen sizes (until iPhone 12)
{
"iPhone 6": {
"height": 667,
"width": 375
},
"iPhone 7": {
"height": 667,
"width": 375
},
"iPhone 8": {
"height": 667,
"width": 375
},
"iPhone SE": {
"height": 667,
"width": 375
},
"iPhone 6 Plus": {
"height": 736,
"width": 414
},
"iPhone 7 Plus": {
"height": 736,
"width": 414
},
"iPhone 8 Plus": {
"height": 736,
"width": 414
},
"iPhone X": {
"height": 812,
"width": 375
},
"iPhone XS": {
"height": 812,
"width": 375
},
"iPhone 11 Pro": {
"height": 812,
"width": 375
},
"iPhone XR": {
"height": 896,
"width": 414
},
"iPhone XS Max": {
"height": 896,
"width": 414
},
"iPhone 11": {
"height": 896,
"width": 414
},
"iPhone 11 Max": {
"height": 896,
"width": 414
},
"iPhone 11 Pro Max": {
"height": 896,
"width": 414
},
"iPhone 12": {
"height": 844,
"width": 390
},
"iPhone 12 Pro": {
"height": 926,
"width": 428
},
"iPhone 12 Pro Max": {
"height": 926,
"width": 428
},
"iPhone 12 mini": {
"height": 780,
"width": 360
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment