title: How to set constraints on Horizontal line programmatically in Swift?
body: <p>How to set constraints on Horizontal line programmatically in Swift ? 
  I set this line in "Try Again" button. So, please tell me how to set constraints on this line.</p>
  
  <p>Code is :</p>
  
  <pre><code>let hrzLine = UIView(frame: CGRect(x: 0, y: 647, width: 265, height: 1))
  
  hrzLine.backgroundColor = UIColor.white
  
  self.view.addSubview(hrzLine)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/yDuB7.png" rel="nofollow noreferrer">enter image description here</a></p>