How do I animate/rotate a UIView 90 degress from its upper right corner?
I've been searching for hours trying to find a way to animate/rotate a UIView 90 degrees from the upper right corner. The effect should almost work like a swinging door from the top of the screen. Hope someone can help! So right after I pressed enter I suddenly put two and two together and figured the Metronome sample worked kind of like a swinging door and that led me to a few other possibilities. Here's my solution: - (void)viewDidLoad { [super viewDidLoad]; // Set the anchor point and center so the view swings from the upper right swingView.layer.anchorPoint = CGPointMake(1.0, 0.0);