I need as shown below.
I have added one UILableinside UIView width & height is 30. I installed UIPinchGestureRecognizeron UIView. The Pinch in out function works great with UIView.
But I want that when I increase the font size UILableand numberOfLineautomatically set to this UIView.
So, at the initial, UILableit is not displayed in the view. When I zoom in at this time UILable, you must display textto be visible ( UILable) (for example, this time in 3 lines). If I zoom in than the text will be displayed on one line.
How can I archive this functionality?
See screenshot below. What i want to do
******** Image 1 ******************
******** Image 2 ******************
******** Image 3 ******************
Thanks at Advance ..
source
share