bengottlieb / Twitter-OAuth-iPhone

An easy way to get Twitter authenticating with OAuth on iPhone
http://www.standalone.com
799 stars 155 forks source link

landscape orientation still displays in portrait #84

Open rawbeans opened 13 years ago

rawbeans commented 13 years ago

When I init the controller with orientation landscapeLeft (or right) in both the demo and my own project, the webview (and everything else) is still displayed in portrait. Has this feature not been added yet? How do I go about enabling landscape orientation?

rawbeans commented 13 years ago

To get around this issue, just add this to your twitter delegate:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; }