i have some error with the code
-(IBAction)showandanswer

id)sender {
buttonViewController *ansicht2 = [[buttonViewController alloc] initWithNibName:@"Login" bundle:nil];
[self view:ansicht2];
here is the error: buttonViewController may not respond to -view
[ansicht2 release];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFl ipFromLeft forView:view2 cache:YES];
[self. view2 removeFromSuperview];
[self.view2 addSubview:view2];
[UIView commitAnimations];
}
What does the error exactly means? I have try very much eventualities to fit the error.
Is there no sample code or tutorial out there where i can look at?
thanks,
blackyE