Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell.addSubview(stackView)
- NSLayoutConstraint(item: stackView, attribute: .centerX, relatedBy: .equal, toItem: cell, attribute: .centerX, multiplier: 1, constant: 0).isActive = true
- NSLayoutConstraint(item: stackView, attribute: .centerY, relatedBy: .equal, toItem: cell, attribute: .centerY, multiplier: 1, constant: 0).isActive = true
Add Comment
Please, Sign In to add comment