UIImageView の UIViewContentMode (Scale to Fill や Aspect Fit等) の意味をよく忘れるので、メモしておきます。 Scale to Fill 縦横の比率を変え全体表示 [code] // ScaleToFill imageView.contentMode = UIViewContentMode.ScaleToFill [/code] Aspect Fit 縦横の比率をそのままに長い辺を基準に全体表示(※空白が発生する可能性あり) [code] // ScaleAspectFit imageView.contentMode = UIViewContentMode.ScaleAspectFit [/code] Aspect Fill 縦横の比率をそのままに短い辺を基準に全体表示(※空白は発生しない) [code] // ScaleAspec
