I\'m trying to submit a new application to the App Store but now Apple requires screenshots for iPhones of 4.7 inch and 5.5 inch. Anyone has these screenshot specifications
I have this page bookmarked and refer back to it frequently, but no one mentions the size for newer 11 inch iPad pro. It's 1668x2388.
Here's a bash script that will resize generic screenshots to the appropriate dimensions. I could not get an iPhone 4 simulator running in the latest xcode as of 2020, so this was necessary for me.
#!/usr/bin/env bash
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
declare -A sizes
sizes["6-5-inch-iphone-xs-max"]="1242x2688"
sizes["5-8-inch-iphone-x"]="1125x2436"
sizes["5-5-inch-iphone-6"]="1242x2208"
sizes["4-7-inch-iphone-6"]="750x1334"
sizes["4-inch-iphone-6"]="640x1096"
sizes["3-5-inch-iphone-4s"]="640x920"
sizes["12-9-inch-ipad-pro-@3"]="2048x2732"
sizes["12-9-inch-ipad-pro-@2"]="2048x2732"
sizes["11-inch-ipad-pro"]="1668x2388"
sizes["10-5-inch-ipad-pro"]="1668x2224"
sizes["9-7-inch-ipad"]="1536x2008"
for i in "${!sizes[@]}"; do
if [[ "$i" == *"ipad"* ]]; then
[ -d "$HERE/ipad" ] || continue
mkdir -p "$HERE/$i"
cd "$HERE/ipad"
for file in *.jpg; do
[ -e "$file" ] || continue
convert "$file" -resize "${sizes[$i]}"\! "$HERE/$i/$file"
echo "scaled $file"
done
else
[ -d "$HERE/iphone" ] || continue
mkdir -p "$HERE/$i"
cd "$HERE/iphone"
for file in *.jpg; do
[ -e "$file" ] || continue
convert "$file" -resize "${sizes[$i]}"\! "$HERE/$i/$file"
echo "scaled $file"
done
fi
done
To use it, put it in a new directory, and create a /iphone and an /ipad directory next to it. Put your generic ipad and iphone screenshots in those folders. Run the script, it will generate named folders for all sizes.
ios_screenshots/
├── run.sh
├── iphone/
│ ├── screenshot_1.jpg
│ ├── screenshot_2.jpg
│ ├── screenshot_3.jpg
├── ipad/
│ ├── screenshot_1.jpg
│ ├── screenshot_2.jpg
│ ├── screenshot_3.jpg