iOS 图片拉伸 BJGX 2018-05-21 278 阅读1分钟 UIImage *image = [UIImage imageNamed:@"qipao-green-left"]; UIImage *newImage = [image stretchableImageWithLeftCapWidth:image.size.width * 0.5 topCapHeight:image.size.height * 0.5];