Optimizing iOS App - Crash Report

35 views Asked by At

I´m would like to optimize my app - i just downloaded the crash log from the organizer. I got the following crash 3 times. Has everyone a idea, what´s wrong? enter image description here

Here is the code of the lines:

-(void)checkAnswer:(int)theAnswerValue {
    [holeView removeFromSuperview];
    [circleView removeFromSuperview];
    [self.circularProgressView removeFromSuperview];

    if(rightAnswer == theAnswerValue) {
    NSLog(@"Correct Answer");
    } else {
       NSLog(@"Wrong Answer");      
    }
    [self updateScore];
}

- (IBAction)buttonThree:(id)sender {
    audioPlayer = nil;
    NSInteger theAnswerValue = 3;
    [self checkAnswer:(int)theAnswerValue];
}

Would be great, if someone can help me out?! The regular order should be, that as soon as a button(Three) is pressed, the game should check the answer.

0

There are 0 answers