UIView flip vertically
问题 I know it's probably a dummy question, but I have to ask: How to flip a UIView vertically? I'm not asking for doing a animation, but just flip it. I can do vertical flip a UILabel by: label1.layer.transform = CATransform3DMakeRotation(M_PI, 1.0f, 0.0f, 0.0f); and turn it back by: label1.layer.transform = CATransform3DMakeRotation(M_PI, 0.0f, 0.0f, 0.0f); But when I'm doing it to a view: self.view.layer.transform = CATransform3DMakeRotation(M_PI, 1.0f, 0.0f, 0.0f); I think it only rotate half