Plain text being cut off at bottom in iOS, how to fix in xCode?

If your using something like a UILabel it means you will need to increase the vertical height of that element.. Either in code or in interface builder.

If you are doing it in code you can get the label to resize itself to fit the contents by calling sizeToFit..

[myLabel sizeToFit];

Alternatively you could measure the size to the string by using sizeWithAttributes: then change the size of the label accordingly.


Updating this one for Swift 3.x in a UITableViewController.

In cellForRowAtIndexPath after the problematic label is set, but before the cell is returned from the method, add a line something like this:

cell.myLabelWhoseCharactersLikegyqGetCutOff.sizeToFit()