My requires is as below.
i have a added UILable
inside UIView width & height is 30
. i have set UIPinchGestureRecognizer
to that UIView
. Pinch in out functionality is working fine with UIView.
But my i want that when i zoom in UILable
font size and numberOfLine
automatically set in that UIView
.
So at initial UILable
not visible in View. When i Zoom in that time UILable
get the are to display text
so than UILable
will be visible (ex. This time in 3 line). If i increase the Zoom level than text will be display in one row.
how can archive this functionality ?
See the below screenshot What i want to do
******** Image 1 *****************
******** Image 2 *****************
******** Image 3 *****************
Thanks in Advance ..