Animating an image view to slide upwards
For non-autolayout storyboards/NIBs, your code is fine. By the way, it’s now generally advised that you animate using blocks: [UIView animateWithDuration:3.0 animations:^{ self.logo.center = CGPointMake(self.logo.center.x, self.logo.center.y – 100.0); }]; Or, if you want a little more control over options and the like, you can use: [UIView animateWithDuration:3.0 delay:0.0 options:UIViewAnimationCurveEaseInOut animations:^{ self.logo.center = CGPointMake(self.logo.center.x, self.logo.center.y – … Read more