tags:

views:

76

answers:

0

Hi, I am using the function: - (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(UILineBreakMode)lineBreakMode to compute the size of a string I want to put on a text view. I want to use this size to set the dimensions of a UITextView. It seems that this function does not take care about the text view margins. Is there a way to get this information from the SDK?

Thanks for help