빈 값을 가진 컨트롤러에서 돌아온 후 경고가 팝업되는 프로젝트에서 작업하고 있습니다. 시뮬레이터에서는 팝업되지만 아이폰에서는 컨트롤러에서 돌아 오면 앱이 멈추고 종료됩니다. 어떤 아이디어?아이폰 : UIAlertView는 시뮬레이터에서 작동하지만 아이폰에서 앱을 멈추게합니다
- (void)manualBarcodeViewControllerDidFinish:(ManualBarcodeViewController *)controller
{
......
......
else if([barcode isEqualToString:@""])
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"error" message:@"message" delegate:self cancelButtonTitle:@"cancel" otherButtonTitles:@"otherbutton"];
[alert show];
[alert release];
}
}
스택 추적이 때 응용 프로그램이 충돌 무엇 예를 들면? –
iPhone이 연결되었을 때 Xcode Organizer를 열면 응용 프로그램에서 사용 가능한 충돌 덤프가 표시됩니다. 그런 다음 문제를 진단하는 데 도움이되는 스택 추적을 게시 할 수 있습니다. –
아 .. 멋지다. 아직 알지 못했다. 여전히 xcode에 새로운 ... – Madoc