Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- todayLabel.widthAnchor.constraint(equalToConstant: 50).isActive = true
- todayLabel.heightAnchor.constraint(equalToConstant: 100).isActive = true
- let stackView = UIStackView(arrangedSubviews: [todayDate, todayLabel, contentTextView, readMoreLabel])
- stackView.axis = .vertical
- stackView.distribution = .fillProportionally
- stackView.spacing = 5
- stackView.anchor(top: viewForImageAndLabel.bottomAnchor, left: safeAreaLayoutGuide.leftAnchor, bottom: shareButton.topAnchor, right: safeAreaLayoutGuide.rightAnchor, paddingTop: 10, paddingLeft: 15, paddingBottom: 10, paddingRight: 15, width: 0, height: 0)
Add Comment
Please, Sign In to add comment