In my app I needed to resize the UILabel size dynamically in runtime as the text would not be determined during compilation time. Luckily this can be done by using the sizeWithFont method of NSString class.Call sizeWithFont of the text.Get back a CGSize struct and you can now init your UILabel with the struct.UIFont *font = [UIFont systemFontOfSize:14];CGSize textSize = [ …
Pongs:
There are no pongs yet. Maybe you can be the first to pong this post?
Comments:
There are no comments yet. Good opportunity for you to be the first!!11!1!!
Please login to leave a comment.


Maybe you can make it with your internet with blog