I'm using animator to implement an animation, like
[[self.view animator] setFrame:newFrame];
but I want to run a method or block after the animation finish, as follow:
[[self.view animator] setFrame:newFrame onComplete:^{
NSLog(@"****");
}];
Is there any way to implement it?