UIImageView裁剪

简介: UIImageView裁剪
 UIImage *image = [UIImage imageNamed:@"11.jpg"];
    CGImageRef cgimage = CGImageCreateWithImageInRect([image CGImage], CGRectMake(110, 110, 320,320));
    self.imageView2.image  =  [UIImage imageWithCGImage:cgimage];
相关文章
UIImageView 图片自适应大小
UIImageView 图片自适应大小
122 0
UIImageView加上圆角
UIImageView加上圆角
42 0
使用手势对UIImageView进行缩放、旋转和移动
使用手势对UIImageView进行缩放、旋转和移动
88 0
|
UED 缓存 异构计算
UIImageView添加圆角的几种方法
喜欢我的可以关注收藏我的个人博客:RobberJJ 创建一个UIImageView对象: UIImageView * poImgView = [[UIImageView alloc] init]; 第一种方法 poImgView.
948 0