Skip to content

Commit

Permalink
Update BlockAlertsDemo/ToAddToYourProjects/BlockActionSheet.m
Browse files Browse the repository at this point in the history
Enum for animateWithDuration:delay:options:animations: in options ins¡t the correct one.
Changed for UIViewAnimationOptionCurveEaseIn
  • Loading branch information
Lascorbe committed Jan 31, 2013
1 parent e3276bf commit c7f29cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlockAlertsDemo/ToAddToYourProjects/BlockActionSheet.m
Expand Up @@ -220,7 +220,7 @@ - (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)anim
center.y += _view.bounds.size.height;
[UIView animateWithDuration:0.4
delay:0.0
options:UIViewAnimationCurveEaseIn
options:UIViewAnimationOptionCurveEaseIn
animations:^{
_view.center = center;
[[BlockBackground sharedInstance] reduceAlphaIfEmpty];
Expand Down

0 comments on commit c7f29cf

Please sign in to comment.