当我试图编译我的代码时;这段代码:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You Lost!"
message:[NSString stringWithFormat:@"You were hit! Try again!"]
delegate:nil
cancelButttonTitle:@"Dismiss" otherButtonTitles:nil];
[alert show];
有这个错误:
No Visible @interface for 'UIAlertView' declares the sector