I have the following code in an app to reduce the size of the font to fit the fixed uiTextView
if (pdThree.contentSize.height > pdThree.frame.size.height) {
int fontIncrement = 1;
while (pdThree.contentSize.height > pdThree.frame.size.height) {
pdThree.font = [UIFont systemFontOfSize:kDefaultFontSize-fontIncrement];
fontIncrement++;
}
}
However I understand that contentSize.height no longer works correctly, can anyone help with this?
Many Thanks