iOS 图片拉伸

UIImage *img = [UIImage imageNamed:@"CGUnwrapRed_2"];

img = [img stretchableImageWithLeftCapWidth:floorf(img.size.width/2.0) topCapHeight:img.size.height/2];

posted @ 2016-08-15 15:28  小屁孩~  阅读(112)  评论(0编辑  收藏  举报