I have tried to hard code the row height in the table view cell. After running the program it looks like only one line. I suspect it is because of the height of the row
If you want the cells to occupy space according to its content, you need to return UITableViewAutomaticDimension in the table view delegate methods heightForRowAt: and estimatedHeightForRowAt: