1

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

user1120008
  • 1,005
  • 4
  • 12
  • 27

1 Answers1

3
UIView *myView = [[UIView alloc] init];
[myView setTransform:CGAffineTransformMakeRotation(M_PI)];
Ryan Poolos
  • 18,182
  • 4
  • 64
  • 96