0

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

Vũ Ngọc Giang
  • 234
  • 3
  • 12
  • Can you explain little bit more that what you want to do. may be by putting a desired output image and some of your code, whatever you have tried till now. – Zac24 Dec 05 '13 at 10:04

1 Answers1

1

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

Dinesh
  • 929
  • 7
  • 25