labelTest.text = @"This is my Teststring.This is my Teststring.This is my Teststring.This is my Teststring.This is my Teststring.This is my Teststring.";
labelTest.numberOfLines = 0;
[labelTest sizeToFit];

4 thought on “How to autosize UILabel to Textsize in IOS using Objective-C”

Leave a Reply