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