Stretch Image with multi region

105 views Asked by At

I want to set a background image to uiview with multi region like picture below? How can i do that?

       (constant)
        <----->
  +------------------+ ^
  |     |     |      | | (constant)
  |  A  |     |  B   | | 
  |-----+ - - +------| v
  |     |     |      | ^
  |     |     |      | |
  |  C  |     |  D   | | (stretched region)
  |     |     |      | |
  |     |     |      | |
  +------------------+ v
  <—————>     <——————>
   (stretched region)

Update: This is my image https://i.stack.imgur.com/xEGP9.png

1

There are 1 answers

0
Dinesh On

Use multiple images for each region.. this will be easier.