Creating a horizontal line

4thSpace picture 4thSpace · Mar 15, 2010 · Viewed 37.8k times · Source

I have two labels that are stacked. If I want a horizontal line between them, is there any other way besides using an image with a UIImageView?

Answer

Jasarien picture Jasarien · Mar 15, 2010

Create a UIView with a black background that is 1 pixel high and 320 pixels wide.