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
Use multiple images for each region.. this will be easier.