How to make an custom button with an self-stretching image?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-04-05T20:00:42Z Indexed on 2010/04/05 20:03 UTC
Read the original article Hit count: 196

Filed under:

I slightly remember that there is an class which is capable of stretching an image in such a way, that the first x pixels and the last y pixels won't get stretched.

For example if you have an button image with round corners, you would want those round corners to stay intact while the middle part of that image gets stretched.

© Stack Overflow or respective owner

Related posts about iphone