Search code examples
ipadinterface-builderdivider

How can I provide a divider-bar for iPad in the Interface Builder?


I have a busy layout and I want all the information on the screen, but divided by the functional equivalent of <hr> in an HTML layout.


Solution

  • You can just use a 1px high UIView and set the background color to whatever you want.

    Or the harder way using Core Graphics.