-
-
Save mrcarriere/049596740fb52907edf68712d2818df0 to your computer and use it in GitHub Desktop.
{ | |
"friendlyName": "Apple iPhone 14 Pro Max", | |
"version": 1, | |
"screens": [ | |
{ | |
"width": 1290, | |
"height": 2796, | |
"navigationBarHeight": 0, | |
"dpi": 460.0, | |
"orientations": [ | |
{ | |
"orientation": 1, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 0.0, | |
"y": 102.0, | |
"width": 1290.0, | |
"height": 2517.0 | |
} | |
}, | |
{ | |
"orientation": 2, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 0.0, | |
"y": 177.0, | |
"width": 1290.0, | |
"height": 2517.0 | |
} | |
}, | |
{ | |
"orientation": 3, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 177.0, | |
"y": 63.0, | |
"width": 2442.0, | |
"height": 1227.0 | |
} | |
}, | |
{ | |
"orientation": 4, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 177.0, | |
"y": 63.0, | |
"width": 2442.0, | |
"height": 1227.0 | |
} | |
} | |
], | |
"presentation": { | |
"overlayPath": "Overlays/iPhone 14 Pro Max.png", | |
"borderSize": { | |
"x": 80.0, | |
"y": 72.0, | |
"z": 80.0, | |
"w": 70.0 | |
} | |
} | |
} | |
], | |
"systemInfo": { | |
"deviceModel": "iPhone15,3", | |
"deviceType": 1, | |
"operatingSystem": "iOS 12.0", | |
"operatingSystemFamily": 0, | |
"processorCount": 6, | |
"processorFrequency": 0, | |
"processorType": "arm64e", | |
"supportsAccelerometer": true, | |
"supportsAudio": true, | |
"supportsGyroscope": true, | |
"supportsLocationService": true, | |
"supportsVibration": true, | |
"systemMemorySize": 2813, | |
"unsupportedIdentifier": "n/a", | |
"graphicsDependentData": [ | |
{ | |
"graphicsDeviceType": 16, | |
"graphicsMemorySize": 1024, | |
"graphicsDeviceName": "Apple A12 GPU", | |
"graphicsDeviceVendor": "Apple", | |
"graphicsDeviceID": 0, | |
"graphicsDeviceVendorID": 0, | |
"graphicsUVStartsAtTop": true, | |
"graphicsDeviceVersion": "Metal", | |
"graphicsShaderLevel": 50, | |
"graphicsMultiThreaded": true, | |
"renderingThreadingMode": 0, | |
"hasHiddenSurfaceRemovalOnGPU": true, | |
"hasDynamicUniformArrayIndexingInFragmentShaders": true, | |
"supportsShadows": true, | |
"supportsRawShadowDepthSampling": true, | |
"supportsMotionVectors": true, | |
"supports3DTextures": true, | |
"supports2DArrayTextures": true, | |
"supports3DRenderTextures": true, | |
"supportsCubemapArrayTextures": true, | |
"copyTextureSupport": 31, | |
"supportsComputeShaders": true, | |
"supportsGeometryShaders": false, | |
"supportsTessellationShaders": true, | |
"supportsInstancing": true, | |
"supportsHardwareQuadTopology": false, | |
"supports32bitsIndexBuffer": true, | |
"supportsSparseTextures": false, | |
"supportedRenderTargetCount": 8, | |
"supportsSeparatedRenderTargetsBlend": true, | |
"supportedRandomWriteTargetCount": 8, | |
"supportsMultisampledTextures": 1, | |
"supportsMultisampleAutoResolve": false, | |
"supportsTextureWrapMirrorOnce": 0, | |
"usesReversedZBuffer": true, | |
"npotSupport": 2, | |
"maxTextureSize": 16384, | |
"maxCubemapSize": 16384, | |
"maxComputeBufferInputsVertex": 8, | |
"maxComputeBufferInputsFragment": 8, | |
"maxComputeBufferInputsGeometry": 0, | |
"maxComputeBufferInputsDomain": 8, | |
"maxComputeBufferInputsHull": 8, | |
"maxComputeBufferInputsCompute": 8, | |
"maxComputeWorkGroupSize": 1024, | |
"maxComputeWorkGroupSizeX": 1024, | |
"maxComputeWorkGroupSizeY": 1024, | |
"maxComputeWorkGroupSizeZ": 1024, | |
"supportsAsyncCompute": false, | |
"supportsGraphicsFence": true, | |
"supportsAsyncGPUReadback": true, | |
"supportsRayTracing": false, | |
"supportsSetConstantBuffer": true, | |
"hasMipMaxLevel": true, | |
"supportsMipStreaming": true, | |
"usesLoadStoreActions": true, | |
"supportedTextureFormats": [1, 2, 3, 4, 5], | |
"supportedRenderTextureFormats": [1, 2, 3, 4, 5], | |
"ldrGraphicsFormat": 59, | |
"hdrGraphicsFormat": 74 | |
} | |
] | |
} | |
} |
{ | |
"friendlyName": "Apple iPhone 14 Pro", | |
"version": 1, | |
"screens": [ | |
{ | |
"width": 1179, | |
"height": 2556, | |
"navigationBarHeight": 0, | |
"dpi": 460.0, | |
"orientations": [ | |
{ | |
"orientation": 1, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 0.0, | |
"y": 102.0, | |
"width": 1179.0, | |
"height": 2277.0 | |
} | |
}, | |
{ | |
"orientation": 2, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 0.0, | |
"y": 177.0, | |
"width": 1179.0, | |
"height": 2277.0 | |
} | |
}, | |
{ | |
"orientation": 3, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 177.0, | |
"y": 63.0, | |
"width": 2202.0, | |
"height": 1116.0 | |
} | |
}, | |
{ | |
"orientation": 4, | |
"safeArea": { | |
"serializedVersion": "2", | |
"x": 177.0, | |
"y": 63.0, | |
"width": 2202.0, | |
"height": 1116.0 | |
} | |
} | |
], | |
"presentation": { | |
"overlayPath": "Overlays/iPhone 14 Pro.png", | |
"borderSize": { | |
"x": 80.0, | |
"y": 80.0, | |
"z": 80.0, | |
"w": 80.0 | |
} | |
} | |
} | |
], | |
"systemInfo": { | |
"deviceModel": "iPhone15,2", | |
"deviceType": 1, | |
"operatingSystem": "iOS 12.0", | |
"operatingSystemFamily": 0, | |
"processorCount": 6, | |
"processorFrequency": 0, | |
"processorType": "arm64e", | |
"supportsAccelerometer": true, | |
"supportsAudio": true, | |
"supportsGyroscope": true, | |
"supportsLocationService": true, | |
"supportsVibration": true, | |
"systemMemorySize": 2813, | |
"unsupportedIdentifier": "n/a", | |
"graphicsDependentData": [ | |
{ | |
"graphicsDeviceType": 16, | |
"graphicsMemorySize": 1024, | |
"graphicsDeviceName": "Apple A12 GPU", | |
"graphicsDeviceVendor": "Apple", | |
"graphicsDeviceID": 0, | |
"graphicsDeviceVendorID": 0, | |
"graphicsUVStartsAtTop": true, | |
"graphicsDeviceVersion": "Metal", | |
"graphicsShaderLevel": 50, | |
"graphicsMultiThreaded": true, | |
"renderingThreadingMode": 0, | |
"hasHiddenSurfaceRemovalOnGPU": true, | |
"hasDynamicUniformArrayIndexingInFragmentShaders": true, | |
"supportsShadows": true, | |
"supportsRawShadowDepthSampling": true, | |
"supportsMotionVectors": true, | |
"supports3DTextures": true, | |
"supports2DArrayTextures": true, | |
"supports3DRenderTextures": true, | |
"supportsCubemapArrayTextures": true, | |
"copyTextureSupport": 31, | |
"supportsComputeShaders": true, | |
"supportsGeometryShaders": false, | |
"supportsTessellationShaders": true, | |
"supportsInstancing": true, | |
"supportsHardwareQuadTopology": false, | |
"supports32bitsIndexBuffer": true, | |
"supportsSparseTextures": false, | |
"supportedRenderTargetCount": 8, | |
"supportsSeparatedRenderTargetsBlend": true, | |
"supportedRandomWriteTargetCount": 8, | |
"supportsMultisampledTextures": 1, | |
"supportsMultisampleAutoResolve": false, | |
"supportsTextureWrapMirrorOnce": 0, | |
"usesReversedZBuffer": true, | |
"npotSupport": 2, | |
"maxTextureSize": 16384, | |
"maxCubemapSize": 16384, | |
"maxComputeBufferInputsVertex": 8, | |
"maxComputeBufferInputsFragment": 8, | |
"maxComputeBufferInputsGeometry": 0, | |
"maxComputeBufferInputsDomain": 8, | |
"maxComputeBufferInputsHull": 8, | |
"maxComputeBufferInputsCompute": 8, | |
"maxComputeWorkGroupSize": 1024, | |
"maxComputeWorkGroupSizeX": 1024, | |
"maxComputeWorkGroupSizeY": 1024, | |
"maxComputeWorkGroupSizeZ": 1024, | |
"supportsAsyncCompute": false, | |
"supportsGraphicsFence": true, | |
"supportsAsyncGPUReadback": true, | |
"supportsRayTracing": false, | |
"supportsSetConstantBuffer": true, | |
"hasMipMaxLevel": true, | |
"supportsMipStreaming": true, | |
"usesLoadStoreActions": true, | |
"supportedTextureFormats": [1, 2, 3, 4, 5], | |
"supportedRenderTextureFormats": [1, 2, 3, 4, 5], | |
"ldrGraphicsFormat": 59, | |
"hdrGraphicsFormat": 74 | |
} | |
] | |
} | |
} |
The deviceModel is set to the iPhone X model, the correct ones should be "iPhone15,2" for 14 Pro and "iPhone15,3" for Pro Max
@pomeloRHO fixed; thanks!
don't mention it, thank you for sharing this, it saved me a headache
Thanks!
I guess we have the same size for iphone 15, right?
You are an absolute legend, thank you very much for creating this!
@cihadturhan Resolution between iPhone 14 Pro and iPhone 15 Pro is identical. Should be fine.
Thank you, the iPhone 15 Pro Max layout bug is the same as the iPhone 14 Pro Max, it helped me
Add 15's, please
15's are the same as 14's AFAIK. Le 1 mai 2024 à 10:40 +0200, xahon @.***>, a écrit :
…
@xahon commented on this gist. Add 15's, please — Reply to this email directly, view it on GitHub or unsubscribe. You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS or Android.
Yeah, really, misread that. Thank you
Thanks a bunch!
FYI, I've created iPhone 14 & 15 device files here.
Overview
Use these two device definition files to add additional devices to your Device Simulator.
Installation
.device
files.Overlays
folder that sits aside of these files.For instance; the folder structure just described would look like:
Image Overlays
iPhone 14 Pro
iPhone 14 Pro Max
Thanks!