iphonecocoa-touchuiimageviewuiimage

Creating a horizontal line


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?


Solution

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