Gettin my app to autorotate
My app is a painting application based off GLPaint. The problem with this is that there is no ViewController class and that is where this code is found that does the autorotation:
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceO rientation {
// Return YES for supported orientations
return YES;
}
So since I dont have this class only a AppController and PaintingView, where do I implement this code. Is it possible to create a view controller and have it link up to control my MainWindow.xib?
If not, then how can I make my app autorotate. Thank you.
MacBook Pro, Mac OS X (10.5.6)