摘要: - (UIImage*)imageByScalingAndCroppingWithImage:(UIImage *)sourceImage ForSize:(CGSize)targetSize{//UIImage *sourceImage = self;UIImage *newImage = nil; CGSize imageSize = sourceImage.size;CGFloat width = imageSize.width;CGFloat height = imageSize.height;CGFloat targetWidth = targetSize.width;CGFlo.. 阅读全文
posted @ 2011-12-17 15:51 Gloolo 阅读(187) 评论(0) 推荐(0)