0

When using iOS resizable images, I have understood that the part of the image which extends is automatically determined (am I right?).

But then, it is possible to change the width of the 'fixed' part of the image ?

For example, is it possible to set broader 'left' and 'right' part in this picture :

enter image description here

lapin
  • 2,098
  • 2
  • 21
  • 30

1 Answers1

1

You can use resizableImageWithCapInsets: method of UIImage.

Check this SO post on how to use it.

Community
  • 1
  • 1
bhargavg
  • 1,383
  • 9
  • 12