iPhone에서 내 앱을 실행할 때이 임의의 오류가 발생합니다. 나는이를 누를 때UIView willMoveToSuperview 오류
첫째, 내가 (이보기 변경) 그런 다음이 방법 -
-(IBAction)playBeat1 {
NSString *path = [[NSBundle mainBundle] pathForResource:@"beat1" ofType:@"mp3"];
AVAudioPlayer* theAudio=[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL];
[theAudio play];
NSLog(@"Beatmaker");
}
을 누릅니다 -
-(IBAction) back{
[self dismissModalViewControllerAnimated:YES];
}
을이 오류를
UIView의 willMoveToSuperview를 얻을 :] : 메시지 할당 취소 된 인스턴스로 전송 됨 0x1b1a20
어떤 아이디어?
Henry, 질문을 삭제하고 다시 게시하지 마십시오. – mvds
나는 그것을 고쳐서 더 좋게 만들었다. –
게시물을 편집하기 만하면 이전 질문에 대한 답변을 작성한 사람들의 번거 로움을 덜 수 있습니다. – sarnold