Template Porting
Automatically converting one screenshot template into the layouts required for additional device sizes.
Template porting is the process of taking a screenshot template that was authored for one device size — typically the canonical iPhone 6.7-inch portrait — and producing equivalent templates for every other required size: iPhone 6.5-inch, iPad 12.9-inch, iPad 11-inch, Pixel phone, Android 7-inch tablet, Android 10-inch tablet, and so on. Each target size has different aspect ratios, safe areas, and bezels, so a naive scale does not work: the headline that fits on a 19.5:9 iPhone might overflow on a 4:3 iPad, and the device frame around it has to change entirely. Mature porting tools take the structured layout of the source template — text positions, image anchors, font scaling rules — and re-flow it into each target canvas using sensible defaults, then let a human designer fine-tune the result. Porting is what turns 'design once' from a slogan into reality: without it, every device size is a fresh design task, and the cost of supporting more devices is linear. Done well, porting reduces a 24-template release (1 design × 24 sizes) to a 1-template release plus a port pass.
Used in
See how this concept shows up in the product:
Explore the featureRelated terms
- Fastlane frameitA command-line action in the Fastlane toolchain that wraps screenshots in device frames using static templates.
- Device FrameThe visual phone or tablet bezel rendered around a screenshot to give it real-world context.
- Screenshot VariantA specific render of a screenshot for one combination of device size, locale, orientation, and theme.