diff --git a/SVProgressHUD/SVProgressHUD.m b/SVProgressHUD/SVProgressHUD.m index dbf988aa..fe6cc8ef 100644 --- a/SVProgressHUD/SVProgressHUD.m +++ b/SVProgressHUD/SVProgressHUD.m @@ -417,12 +417,11 @@ - (void)positionHUD:(NSNotification*)notification { } if(notification) { - SVProgressHUD *__weak weakSelf=self; - [UIView animateWithDuration:animationDuration + [UIView animateWithDuration:animationDuration delay:0 options:UIViewAnimationOptionAllowUserInteraction animations:^{ - [weakSelf moveToPoint:newCenter rotateAngle:rotateAngle]; + [self moveToPoint:newCenter rotateAngle:rotateAngle]; } completion:NULL]; }