title: Webview resizes automatically to portrait and landscape view in iphone
body: <p>I am new to iphone development.In my app, i want to display the web view in device with c portrait Orientation.It should also support landscape orientation. I  used the  below method but there is no expected output.</p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
  {
  
  return (interfaceOrientation == UIInterfaceOrientationPortrait || 
  
   interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == 
  
  UIInterfaceOrientationLandscapeRight);
  }
  </code></pre>
  
  <p>please guide me.Please help me out.Thanks</p>