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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -