Skip to content

Add some LdFrameOptions for standard phones. #5

@ElectricCookie

Description

@ElectricCookie

It would be cool if we can allow to simply pass some standard devices i.e. current iPhones, iPads or Pixel devices as presets to the golden utils.

An option to landscape them would also be great.

Adding some overlays for notches would also be great to test that layouts respect the SafeArea correctly(lists on landscape iPhones being cut off by notches is a common error). this would require reading some viewPadding / viewInset values from a simulator.

Previously I was able to produce t standard AppStore previews using the following sizes:

height: 2796 / 3.5,
width: 1290 / 3.5,
devicePixelRatio: 3.5

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions