先谢谢你…
pageControl.transform = CGAffineTransformMakeRotation(M_PI_2);
Swift 3.0
let angle = CGFloat(M_PI_2) pageControl.transform = CGAffineTransform(rotationAngle: angle)