Reputation: 119
I want to switch views but with no animation such as a cross dissolve, so it goes to a different view with no transition. Just switch straight to the view.
This is the current code:
-(IBAction)goNext:(id)sender; {
NwxtiewController *second = [[NextViewController alloc] initWithNibName:nil bundle:nil];
second.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:second animated:YES];
}
Upvotes: 0
Views: 96