1

我收到“EXE_BAD_ACCESS”但我不知道我在哪里做错了请查看代码并让我知道错误。

+ (void)showBounceAnimatedView:(UIView *)popUp completionBlock:(void (^)())completionMy {
 popUp.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.7, 0.7);
[UIView animateWithDuration:0.3/1.5 animations:^{
    popUp.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.1, 1.1);
} completion:^(BOOL finished) {
    [UIView animateWithDuration:0.3/2 animations:^{
        popUp.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.9, 0.9);
    } completion:^(BOOL finished) {
        [UIView animateWithDuration:0.3/2 animations:^{
           popUp.transform = CGAffineTransformIdentity;
        } completion:^(BOOL finished) {
            completionMy(); <-----------
        }];
    }];
}];
}

箭头显示我得到的地方是错误的;

4

0 回答 0