title: stretch a Image like android nine-patch?
body: <p><code>UIImage</code> Method :</p>
  
  <p><code>- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight</code>.</p>
  
  <p>Here the stretchable area is forced to be a single pixel high/wide.</p>
  
  <p>I can not set the stretchable area, so I want to know: is there a UIImage category to do that?</p>
  
  <p>After I googled, I found a lib.</p>
  
  <p><strong>Question:</strong> <a href="https://stackoverflow.com/questions/1134825/is-there-a-nine-patch-loader-for-iphone">Is there a nine-patch loader for iPhone?</a></p>
  
  <p><strong>Announcement:</strong> <a href="http://blog.tortuga22.com/2010/05/31/announcing-tortuga-22-ninepatch/" rel="nofollow noreferrer">http://blog.tortuga22.com/2010/05/31/announcing-tortuga-22-ninepatch/</a></p>
  
  <p><img src="https://i.stack.imgur.com/OxgEt.png" alt="http://i.stack.imgur.com/Rc6my.png"></p>
  
  <p>This is a source pic, and I want to stretch the inside gray rect.</p>
  
  <p>Thanks in advance.</p>