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.

Comments
Post a Comment