UIImage *image = [UIImage imageNamed:@"11.jpg"]; CGImageRef cgimage = CGImageCreateWithImageInRect([image CGImage], CGRectMake(110, 110, 320,320)); self.imageView2.image = [UIImage imageWithCGImage:cgimage];
UIImage *image = [UIImage imageNamed:@"11.jpg"]; CGImageRef cgimage = CGImageCreateWithImageInRect([image CGImage], CGRectMake(110, 110, 320,320)); self.imageView2.image = [UIImage imageWithCGImage:cgimage];