iPad simulator rotates back to portrait


I have completed chapter 14.

When I place the iPad 4.3 simulator into landscape mode, then click the “+” button to add a new row item, when the modal form sheet appears, the display rotates back to portrait. After I click the “Done” button, the display rotates back to landscape.

What am I doing wrong?


More then likely you need to add the method shouldAutorotateToInterfaceOrientation: to both ItemViewController and ItemDetailViewController. Missed this first time my self.