devicePixelRatioOverride: undefined | number

If defined, this will be used as the device pixel ratio instead of the system's actual device pixel ratio. This can be helpful for situations like running in the iOS Simulator where forcing a lower resolution by setting a sub-1 device pixel ratio would increase performance.

Defined in

Last Updated: 20 July, 2020