Optimizing iOS App - Crash Report -
i´m optimize app - downloaded crash log organizer. got following crash 3 times. has idea, what´s wrong? 
here code of 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 great, if can me out?! regular order should be, button(three) pressed, game should check answer.
Comments
Post a Comment