I am getting this warning but have no clue what am I doing wrong, it’s a simple code to change views with transitions. I didn’t use to have this error with Xcode 3.x but now with 4.x the problem began. Although it’s just a warning and the code compiles perfectly, I’d like to know what is the problem.
-(IBAction)swapViews:(id)sender{
DemoViewController *view3 = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil];
view3.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:view3 animated:YES];}
Appreciate all your help
I think what you want to do here is.