That's not how resizableImageWithCapInsets: works, I'm afraid. It's designed to keep the edges un-stretched and to tile the middle bit to fill the remaining space.
To achieve what I think you want, you will probably have to draw three images side-by-side.
Hope that helps.