聊天泡泡需要切割图片

来源:互联网 发布:手机淘宝问答在哪里 编辑:程序博客网 时间:2024/04/28 12:31
UIImage *newImage=[oldimage stretchableImageWithLeftCapWidth:30 topCapHeight:20];

在图片高20的地方复制填充

在图片宽30的地方复制填充

0 0
原创粉丝点击