Would it be possible to show line numbers as part of the pdf document. What option should I use?


Question: Show UILabel with complete text or hide it
Answer: You can get Screen's size like this : 

CGSize screenSize = [[UIScreen mainScreen] bounds].size;


And then put an if statement like this :

if (label.frame.size.width&gt;screenSize.width) { 
        //Use smaller label }
else {
        //use bigger label }