In this video, we are going to find out that how we can count number of lines of text our UILabel contains. Calculating number of lines in a dynamic label is a hard thing as most of the code snippets available on the internet does not work correctly. The code snippet provided in this tutorial works efficiently at the time of publishing this tutorial.