0
알림에 문제가 있습니다.iphone의 알림보기
UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"That's it" message:@"THANKS FOR USING" delegate:self cancelButtonTitle:@"bye" otherButtonTitles:nil];
[alert show];
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{
NSLog(@"Button %d pressed", buttonIndex);
[ alertView release ];
}
이 ---- alertView 선언되지 않은 및 예상 오류를 보여줍니다 : 내 프로그램에 다음과 같은 추가 해요 때 오류 표시 이전 :
제발 내 문제를 해결하는 데 도움이됩니다. 경고의 버튼을 클릭하면 몇 가지 작업을 수행하려고합니다.