Tôi nhận được EXC_BAD_ACCESS trên dòng [alert show].EXC_BAD_ACCESS trên mã UIAlertview = 1
Tại sao tôi nhận được thông báo này?
alert = [[UIAlertView alloc]initWithTitle:@"Application Alert" message:@"all date popup" delegate:self cancelButtonTitle:nil otherButtonTitles:@"Update",nil];
[alert show]; //EXC_BAD_ACCESS on this line
séc ra câu trả lời của tôi đưa ra ở đây [http://stackoverflow.com/a/13084383/1538079] –
Bạn gọi nó từ chủ đề chính? –
nguyên mẫu cho 'cảnh báo' là gì. – AppleDelegate