It's hard to advise you without more details, what view are you using to display the text, if you're using a scroll view, you need to show your code, you need to measure the height of the text and assign that same height plus a little more to your scroll view.