Create UILabel to fit into text size
Create UILabel to fit into text size
- Subject: Create UILabel to fit into text size
- From: "Tharindu Madushanka" <email@hidden>
- Date: Tue, 30 Dec 2008 09:50:28 +0530
Hi
I am new to iPhone application development and please help me on this.
I need to add the contents in a text field to a UILabel. But I can't guess
how long the string in the text field be. There fore, can I make a UILabel
from the text ( I mean to fit the text to UILabel size). I have searched but
could not find a solution. Please help me on this with some code.
I think if I get a CGRect object with some string it could set as UILabel's
frame. can you suggest some code segment to do this.
Thank you
Tharindu
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden