Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sergio10

macrumors regular
Original poster
Oct 3, 2007
137
0
Hi,

When navigate between views then previous view I release.

If during navigation to rotate device then app crashes

In each view I have next code:
Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
{ 
    return NO; 
}
Also tried override this method but it still crashes. Please help
 
When you say you release the previous view what do you mean? It sounds like you are just releasing all your view controllers or something. Unless you need orientation capabilities, you can just comment those whole sections out. If you comment them out and it still crashes, you have some other problem in your code
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.