コード例 下記のように指定してれば端末に合わせて自動的に@2xや~iPad画像を読み込んでくれます。 UIImage img = [UIImage imageNamed:@”img”]; 画像リサイズ&変換方法 その1 あとiPhoneアプリ開発でPDFを一括画像変換&リサイズ作業をよくするので、 PDF→JPEG一括変換用のコマンドを忘れないようにメモ。 pdf2jpg.sh #!/bin/bash if [ $# -ne 2 ];then echo “Usage: $0 target.pdf outfile” exit fi TARGET=$1 OUTFILE=$2 gs \ -dSAFER \ -dBATCH \ -dNOPAUSE \ -sDEVICE=jpeg \ -g960x640 \ -dTextAlphaBits=4 \ -dGraphicsAlphaBits=4 \ -d