I'm trying to get my view controller to rotate, but I can't get it to work. I've added these two methods:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{
return YES; //iOS 5
}
- (BOOL)shouldAutorotate
{
return YES; //iOS 6
}
And the second (im using ios6) is indeed getting called, but no rotation is occurring. Why is this?
Thank!