UITextField rigtht frame
- by JustMe
Hi,
I have a peace of code like this:
CGSize lSize = [@"Hello World" sizeWithFont:[UIFont fontWithName:@"Arial" size:13]];
Now I want to have the right frame to see this text in the UITextField. I don't want to change the font size just have the frame for UITextField to fit with this text.
I will really appreciate any helps