0
안녕하세요, 뒤로 버튼을 누르면 내 iPhone 응용 프로그램이 충돌합니다. 나는 이것이 왜 일어나는 지 정말로 모른다. 내 응용 프로그램이 충돌하는 그림을 볼 수 있습니다. 이전 ViewController로 이동하면 응용 프로그램이 중단됩니다.
이미 내 버튼이 하나의 동작으로 만 연결되어 있는지 확인했습니다. 그래서 나는 정확히 무엇이 문제인지를 알 수 없다. 바보 내 질문에 다음 PLZ 용서 경우
, 나는 그래서 내가 장치와 프린터를 사용하고
을 감염 도와주세요 아이폰 개발에 새로운 오전과 내가 몇 가지 문제가
CAGradientLayer *gradient = [CAGradientLayer layer];
gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor colorWithRed:0.8 green:0.8 blue:1 alpha:1] CGColor],(id)[[UIColor colorWithRed:0.05 green:0.05 blue:0.38 alpha:255] CGColor], nil];
//creating the iEpsonCom objects
m_deviceParams = [[DeviceParameters alloc] init];
m_device = [[Device alloc] init];
//registering the callback
[m_device registerCallback:self withSelector:@selector(callbackMethod:)];
//creating a thread for regularly checking the connection state
m_Thread = [[ThreadClass alloc] init];
[m_Thread registerCallback:self withSelector:@selector(connectionStateThreadCallbackMethod:)];
[m_Thread setMilliseconds:300]; //check the connection state every 300 ms
[m_Thread start]; //start the thread
당신이 해고하는 viewController의 dealloc 메소드에서 어떤 일이 일어나고 있습니까? 어쩌면 당신은 뭔가를 과도하게 사용하고있는 것일 수 있습니다. – Alexander
이 viewController를 표시하거나 버리는 설치 코드를 게시하면 도움이됩니다. –
고맙습니다. 답장을 보내 주시길 바랍니다. 내 개체를 dealloc에서 해제하려고합니다. 그러나 모든 개체를 주석 처리했지만 여전히 충돌하고 있습니다. – Mashhadi