Article

See how your UI design looks on any iOS device with ‘Auto-Layout’

Designs look different across iPhones, iPads and Apple Watches. Use an Auto‑Layout approach in Sketch to define constraints and preview your UI on multiple screens.

by Whatsnew Newsroom

iOS devices come in a lot of sizes and shapes. A layout that looks perfect on one iPhone can be cramped on a smaller model or oddly spaced on an iPad. The practical answer is to design with flexible constraints and preview the same artboard across several target screens so you can spot layout breaks early.

Use constraints, not fixed positions

Rather than positioning every element with absolute x/y values, think in terms of constraints: what should pin to the top, bottom, left or right? What should stretch, and what should keep a fixed size? In Sketch this means grouping elements sensibly, using symbols where repeated elements occur, and deciding which parts of a component should resize and which should stay constant.

Plugins that add an "auto‑layout" workflow to Sketch let you declare those constraints per layer and then generate previews of how each artboard will appear on a range of devices. The idea is simple and powerful: one master artboard, many device views. That helps you catch problems such as text truncation, overlapping controls, or awkward spacing between components.

Some tools (and earlier plugins with names like Auto‑Layout) were built specifically to create an overview of multiple device views at once. They would produce versions for common iPad and iPhone sizes, and even for watch faces, so you could scan a single screen and see how a UI behaves across portrait and landscape orientations.

Quick workflow and tips

- Prepare a single artboard as your "master" screen. Use symbols for headers, footers and repeated UI chunks so you only change the source once. - For every layer decide: stick to an edge, centre, maintain a margin, or stretch. Make these rules explicit with constraints rather than relying on pixel nudges. - Use a plugin or Sketch’s built‑in features to generate previews for multiple target sizes. The generated overview should show each device variant side by side so you can compare spacing, alignment and typography at a glance. - Pay attention to text wrapping and truncation. Dynamic content is often where layouts break, so test with longer labels and sample content that reflects real use. - Keep accessibility in mind: larger system text sizes and different aspect ratios can push components around. - Annotate decisions for developers. When you pin something to the bottom or set a min/max width, leave a short note so implementation matches the design intent.

Plugins and features change over time, but the concept doesn’t: build with constraints, preview across realistic targets, and iterate before you hand off to development. These steps save time and avoid last‑minute surprises on real devices. Even with automated previews, finish with testing on physical hardware or official device simulators to confirm touch targets, scrolling behaviour and performance.

by Whatsnew Newsroom
whatsnew. APPS · WEB TOOLS · SECURITY · AI

Know what’s new.

The useful side of the internet. Covered properly.

Set as preferred →