Code:
[UIView animateWithDuration:1.0
delay:0.2
options: UIViewAnimationCurveEaseOut << decide on transition effect here. can have multiple
animations:^{
apple.frame = someOtherFrame;<< the new position u want the apple to move to
}
completion:^(BOOL finished){
//some code you want called when the move is finished
}];
check out
Loading…
prob what your looking for