I\'m trying to rotate an UIView a few radians but after applying the transformation it doesn\'t look to be keeping its size. What\'s the proper way to achieve t
UIView
Swift5
Rotate UIView Upside down
let degrees:CGFloat = -180 //angle to convert upside down rotatingUI.transform = CGAffineTransform(rotationAngle: degrees * CGFloat(Double.pi)/180);