내 응용 프로그램이 열릴 때마다 특정 조건을 검사합니다. 실패하면 UIAlertView가 사용자에게 표시됩니다.xcode 4.4.1 uialertview crash
[alertview show]가 실행될 때 빌드가 xcode 4.4.1에 부합하여 xcode 4.3.2 및 xcode 4.5에서 정상적으로 작동합니다.
여기에 중요한 정보를 누락 코드
NSString *appMessage = [NSString stringWithFormat:@"Error Message HERE"];
UIAlertView *appMessageAlertView = [[UIAlertView alloc] initWithTitle:nil message:NSLocalizedString(appMessage,@"Error Message") delegate:self cancelButtonTitle:nil otherButtonTitles:NSLocalizedString(@"OK", @"ok"),nil];
appMessageAlertView.delegate = self;
[appMessageAlertView show];
[appMessageAlertView release];
입니다 : 충돌이 iOS6의
을 - 그 ALLOC이/초기화 불균형하게하지 않는 이유는 무엇입니까? ARC를 사용할 때는 – Farcaller
릴리스가 허용되지 않지만 컴파일 오류가 발생합니다. ARC를 사용하지 않을 때는 릴리스가 있어야합니다. – pre
충돌! = 컴파일 오류. ARC 문제가 있다면 xcode 4.5에서도 눈에 띄게됩니다. – Farcaller