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
You must be logged in to post a comment.
RT @CodeSnippetsNET: Autosize UILabel to Textsize in #IOS using #ObjectiveC http://t.co/0R2LPBBBoY #xcode #mac #osx #appstore #apps #iphone…
RT @CodeSnippetsNET: Autosize UILabel to Textsize in #IOS using #ObjectiveC http://t.co/0R2LPBBBoY #xcode #mac #osx #appstore #apps #iphone…
RT @CodeSnippetsNET: Autosize UILabel to Textsize in #IOS using #ObjectiveC http://t.co/0R2LPBBBoY #xcode #mac #osx #appstore #apps #iphone…
Top story: How to autosize UILabel to Textsize in IOS using Objective-C http://t.co/D5RlOARJZk, see more http://t.co/YdpWfHF4jW