I have an image that I wish to animate after a view has appeared. I’m doing the following:
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
CGRect folderFrame = self.folderImage.frame;
folderFrame.origin.y += 250;
[UIView animateWithDuration:250 animations:^{
self.folderImage.frame = folderFrame;
}];
}
But I can’t see any animation. What am I doing wrong?
I think it is working, but moving 1 point per second, practically imperceptible. Try specifying a shorter duration for the animation.