I\'m using storyboards to layout my view controllers and I would like to use stretchable images for my buttons (so that I don\'t need to generate several images with differe
It's doable in XCode's 5.0 Interface Builder with the assets catalog. Create an image asset ( if you don't already have an asset catalog you can create one as follows:
File
->New
->File
->Resources
->Asset Catalog
Editor
->New Image Set
Idiom
& Scale
Show Slicing
button to set the slices as you wish. Check Apple docs here: Developer Apple: Asset Catalog Help Then all you have to do is to set the background image of the button as the requested asset.
EDIT: I've forgot to mention that it works as desired only in iOS7