You might need to include this too:
#import <QuartzCore/QuartzCore.h>
[UIView animateWithDuration: kZoomAnimationDuration
animations: ^{
CGRect frame = self.labelZoomTapView.frame;
self.zoomedLabelView.frame = frame;
// and change whatever other properties that will lead to animation.
} completion: ^(BOOL finished) {
// or whatever cleanup you have to do
[self.zoomedLabelView removeFromSuperview];
}];
hooverLayer.transform = CATransform3DRotate(CATransform3DIdentity,
90.0 * M_PI / 180.0,
0.0f, 0.0f, 1.0f);