You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
At the moment the framework renders test images in the device-specific resolution (dpi / context scale).
// the scale factor is set to the scale factor of the device’s main screen
UIGraphicsBeginImageContextWithOptions(bounds.size, NO, 0);
To allow snapshot-tests to run on both 2x and 3x devices we record and store snapshots for both 2x and 3x devices. This takes time and loads the repository with snapshots identical up to dpi.
I wonder whether the framework will work correctly with a fixed context scale (e.g. 2x)? Are there any pitfalls and/or performance issues?
I appreciate any comments regarding the question.
The text was updated successfully, but these errors were encountered:
At the moment the framework renders test images in the device-specific resolution (dpi / context scale).
To allow snapshot-tests to run on both 2x and 3x devices we record and store snapshots for both 2x and 3x devices. This takes time and loads the repository with snapshots identical up to dpi.
I wonder whether the framework will work correctly with a fixed context scale (e.g. 2x)? Are there any pitfalls and/or performance issues?
I appreciate any comments regarding the question.
The text was updated successfully, but these errors were encountered: