1

私はこれに慣れていないだけで、回転を定義する必要があるかどうか、エラーを起こしているだけなのか、一般的に間違ったことをしているだけなのかわかりません。

これが私がこれまでに持っているものです:

- (IBAction)TestDrive:(id)sender {                    
    CGPoint center = CGPointMake(car.center.x,
    self.view.frame.origin.y + car.frame.size.height/2);
    [UIView animateWithDuration:3 animations:^{
        car.center = center;
    } 
     completion:^(BOOL finished){
    [self rotate]; //error here
    }];
}

- (void)rotate;{
    }

- (void)returnCar; {
    }

- (void)continueRotation;{
    }

@end
4

1 に答える 1