答案 0 :(得分:1)
请参阅以下代码:
CGContextRef context = UIGraphicsGetCurrentContext();
context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationDuration:0.75];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:button cache:YES];
[UIView commitAnimations];
答案 1 :(得分:0)
您可以在CoreGraphics中模仿内部阴影...请参阅Inner Shadows