I declared my view in my .h with:
IBOutlet UIViewController *flightdataview;
@property (nonatomic,retain) IBOutlet UIViewController *flightdataview;
and I'm trying to switch views using this code:
[self presentModalViewController:flightdataview animated:YES];
However I get this when I try to switch views:
'Application tried to present a nil modal view controller on target
Any ideas?
Thanks.
0 comments:
Post a Comment