title: Draw Vertical line in UIView
body: <pre><code>UIView * lineView = [[UIView alloc] initWithFrame:CGRectMake(0, dialogContainer.bounds.size.height - buttonHeight - buttonSpacerHeight, dialogContainer.bounds.size.width, buttonSpacerHeight)];
  lineView.backgroundColor = [UIColor colorWithRed:198.0/255.0 green:198.0/255.0 blue:198.0/255.0 alpha:1.0f];
  [dialogContainer addSubview:lineView];
  </code></pre>
  
  <p>I have used this code to draw horizontal line on UIView. How can I add Vertical line to UIView?</p>