if i rotate label its constraints swift 4 code example
Example: xcode label rotate text
yourLabelName.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 2)
yourLabelName.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 2)