我有这个代码:
//显示警报
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Actualizado"
message:@"Se ha actualizado todo" delegate:self
cancelButtonTitle:@"Aceptar" otherButtonTitles:nil, nil];
[alert show];
和这个
- (void)alertView:(UIAlertView *)alert
clickedButtonAtIndex:(NSInteger)buttonIndex {
NSLog(@"ALgo"); }
并得到以下错误:
-[__NSCFType alertView:clickedButtonAtIndex:]:
unrecognized selector sent to instance 0xdc559a0
请帮忙。谢谢