2018年10月23日
摘要: /** * 改变图片的大小 * * @param img 需要改变的图片 * @param newsize 新图片的大小 * * @return 返回修改后的新图片 */ - (UIImage *)scaleToSize:(UIImage *)img size:(CGSize)newsize{ // 创建一个bitmap的context // 并把它设置成为... 阅读全文
posted @ 2018-10-23 13:41 wp7ers 阅读(4626) 评论(0) 推荐(0)