ios - Draw an Image stretched on x-dimension? -


i have uiimage has frame of

(0,0,100,100) 

now want draw image frame of size

(0,0,120,100) 

i want image stretched. don't want stretch parts of image. want point involved. whole image should stretched proportionally.

how can that?

here options when comes setting contentmode of view.

i shamelessly searched uiview contentmode on google images.

contentmode


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -