Make sure, you mapped your viewController object to the correct InterfaceBuilder item. The "flightdataview" not allocated.
Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini
The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad
iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool
Apple announces 4th generation iPad packing an A6X CPU
Make sure, you mapped your viewController object to the correct InterfaceBuilder item. The "flightdataview" not allocated.
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.
Why is it having a problem running my function?
The function is implemented correctly.
Origanaly I had the funcion return an 'int' but then changed it to return 'void' and it still gave me the same error.
please, expound. I cant find an example how to implement a function, all of the examples have the following:
...
case Play:{
//do something
break;
}
...