图片的切片

1.采用 stretchableImageWithLeftCapWidth

self.background = [image stretchableImageWithLeftCapWidth:image.size.width * 0.5 topCapHeight:image.size.height * 0.5];

posted on 2015-08-02 18:28  pTrack  阅读(98)  评论(0)    收藏  举报