Resizing an image with stretchableImageWithLeftCapWidth

后端 未结 7 1782
闹比i
闹比i 2020-12-29 00:39

I\'m trying to resize an image using stretchableImageWithLeftCapWidth: it works on the simulator, but on the device, vertical green bars appears.

I\'ve tried to use

7条回答
  •  青春惊慌失措
    2020-12-29 01:25

    I tried to disable PNG compression like Nate proposed, but this wouldn't work for me (iOS 3.1.3). I then tried using TIFF images instead of PNG, which works.

提交回复
热议问题