Take a screenshot in iOS Simulator with the Device Frame
Take a screenshot in iOS Simulator with the Device Frame

Run a single command to take a screenshot with the device frame or simply upload your screenshots here.

xcrun simctl io booted screenshot shot.png && curl -F '[email protected]' "https://shot.withfra.me/new"
iOS screenshot with the device frame

How it works

Step 1: Take a Screenshot in iOS Simulator Using `xcrun`

`xcrun` is a command-line utility that allows you to find or run tools from Xcode. In order to take a screenshot using `xcrun`, follow these steps:

  1. Open a terminal window on your Mac.
  2. Open your app in the iOS Simulator (open -a Simulator)
  3. Once iOS Simulator is launched, type the following command to take a screenshot:
xcrun simctl io booted screenshot <file-name>.png

Replace <file-name> with the desired name of your screenshot. The screenshot will be saved locally into your current directory.

The screenshot will not include the device frame, but we got you! Follow Step 2 to add the device frame to your screenshot.

Step 2: Add the device frame to your screenshot

Upload your screenshot to WithFrame in order to add the device frame to your screenshot using the following command:

curl -F '[email protected]' "https://shot.withfra.me/new"

You can also specify device's color by providing ?color=black. Available colors for each device can be found here.

Supported Devices

We are currently in the process of expanding our device inventory and are actively working on adding more devices to our selection.

Device Screenshot Dimensions Available Colors
iPhone 8 750px · 1334px
Silver `?color=silver`
Space gray `?color=space_gray`
Gold `?color=gold`
iPhone 8 Plus 1242px · 2208px
Silver `?color=silver`
Space gray `?color=space_gray`
Gold `?color=gold`
iPhone 13 1170px · 2532px
Red `?color=red`
Starlight `?color=starlight`
Midnight `?color=midnight`
Blue `?color=blue`
Pink `?color=pink`
Green `?color=green` Temporary unavailable
iPhone 13 Mini 1080px · 2340px
Red `?color=red`
Starlight `?color=starlight`
Midnight `?color=midnight`
Blue `?color=blue`
Pink `?color=pink`
Green `?color=green` Temporary unavailable
iPhone 13 Pro Max 1284px · 2778px
Sierra blue `?color=sierra_blue`
Graphite `?color=graphite`
Gold `?color=gold`
Silver `?color=silver`
Alpine green `?color=alpine_green` Temporary unavailable
iPhone 14 Pro Max 1290px · 2796px
Space black `?color=space_black`
Silver `?color=silver`
Gold `?color=gold`
Deep purple `?color=deep_purple`