diff --git a/scripts/ios-screengrab.sh b/scripts/ios-screengrab.sh new file mode 100644 index 0000000..37699b4 --- /dev/null +++ b/scripts/ios-screengrab.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +#capture screenshot using libimobiledevice, brew install libimobiledevice to install +idevicescreenshot screen.tiff + +#convert tiff to png +sips -s format png screen.tiff --out screen.png + +#frame the screenshot +device-art --input-image=screen.png --device=iphone_6_plus