क्या यह संभव है? मैं परत की अस्पष्टता और स्थिति (केंद्र) बदल सकता हूं लेकिन जब भी मैं आकार या मूल को बदलने की कोशिश करता हूं, यह काम नहीं करता है।कोर एनीमेशन (CAKeyFrameAnimation) के साथ UIView का आकार बदलें और स्थानांतरित करें
CAAnimationGroup* anigroup = [CAAnimationGroup new];
CGMutablePathRef thePath = CGPathCreateMutable();
CGPathAddRect(thePath, NULL, CGRectMake(0,0, 320, 480));
CGPathAddRect(thePath, NULL, CGRectMake(location.x - 16,location.y-24, 32, 48));
CGPathAddRect(thePath, NULL, CGRectMake(190, 20, 32, 48));
CAKeyframeAnimation* AniLoc = [CAKeyframeAnimation animationWithKeyPath:@"frame"];
AniLoc.path = thePath;
AniLoc.keyTimes= [NSArray arrayWithObjects:[NSNumber numberWithFloat:0.0f],
[NSNumber numberWithFloat:0.3f],
[NSNumber numberWithFloat:1.0f],nil];
AniLoc.duration = 5;
CFRelease(thePath);
anigroup.animations = [NSArray arrayWithObjects:AniLoc,nil];
anigroup.duration = 5;
[focusview.layer addAnimation:anigroup forKey:nil];
बहुत बढ़िया, यह वही है जो मैं ढूंढ रहा था। धन्यवाद! – ACBurk