Guest User

Untitled

a guest
Mar 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. if you set your constraints by coding then
  2.  
  3. let imagehorizontalConstraint = NSLayoutConstraint(item: imageVW!, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
  4.  
  5. and i suppose you know how to set vertically and horizontally by storyBoard.
Add Comment
Please, Sign In to add comment