to get a ruled line background with UI textview i found a code from here
i used the same code, but according to my need i have added a margin figure in the code and the figure looks as follows
Now i want the text to be places next to the margin line and in the first line of every paragraph i want to show some spaces from the margin to the first word. how to do this please guide me