Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if you set your constraints by coding then
- let imagehorizontalConstraint = NSLayoutConstraint(item: imageVW!, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
- and i suppose you know how to set vertically and horizontally by storyBoard.
Add Comment
Please, Sign In to add comment