On page 243 we implement -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation in the ItemsViewController and ItemDetailViewController
the last line in the else block says : return (io == UIInterfaceOrientationPortrait); generates a compiler error because io is an undefined variable
I don’t see anywhere in the book where we create an io variable. Am I missing something here? Is io a constant of some kind?
I searched the forums and didn’t see anyone with the same problem. Please help!