Quote:
Originally Posted by alessign
Ok I found out. The code is now
second = [[SecondViewController alloc] initWithNibName:nil bundle:nil];
second.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:second animated:YES];
I dismiss in second line "self" and it's working perfectly. Thank you for the help guys!!!!
A.
|
This code is incorrect, though. initWithNibName:nil should be initWithNibName:@"SecondViewController"