rotating

To get the HelloWorld to autorotate is just too simple.  Update the xxxxViewController.m and uncomment the shouldAutorotateToInterfaceOrientation method, and have it return a YES value.


// Override to allow orientations other than the default portrait orientation. –
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (YES); }

But, then, rotated, things aren’t centered properly:

iPad uncentered after autorotate

iPad uncentered after autorotate

so, fixing that will be the next thing I suppose.

I like O’Reilly books….

This entry was posted in iPad and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *