24/7 twenty-four seven

iOS/OS X application programing topics.

2009-05-02から1日間の記事一覧

アスペクト比(縦横比)を保ったまま、画像を拡大縮小する。

iphone - How to scale a UIImageView proportionally? - Stack Overflow @interface UIImage (Extras) - (UIImage *)imageByScalingProportionallyToSize:(CGSize)targetSize; @end; @implementation UIImage (Extras) - (UIImage *)imageByScalingProporti…