1

How do you manually rotate a view 180 degrees using CGAffineTransformMakeRotation?

user1120008
  • 1,005
  • 4
  • 13
  • 27

1 Answers1

3
UIView *myView = [[UIView alloc] init];
[myView setTransform:CGAffineTransformMakeRotation(M_PI)];
Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98