title: iPhone interface orientation statement not working in OS 3.0?
body: <p>I have the following code which evaluates to true and runs the code inside the braces I rotate to the right (or left) in OS 2.2.1.  However the same line of code does not evaluate to true (or go into the braces) if compiled and run for OS 3.0...</p>
  
  <p>I say this because in the debugger (and the log) the lines inside the braces get skipped if I've compiled for 3.0</p>
  
  <p>This is inside of a textViewDidBeginEditing method on a textView...</p>
  
  <p>Did something change between 2.x and 3.0 relative to how this is handled?  The non-resizing text field has been noticed by users as a bug I'm trying to fix...</p>
  
  <p>This isn't my code originally and as I look at it, I'm beginning to think I should be implementing some delegate methods for rotation...?  But it still bugs me that this statement isn't working...</p>
  
  <p>Thanks in advance for any advice...</p>
  
  <pre><code>if((self.interfaceOrientation == UIInterfaceOrientationLandscapeLeft)||(self.interfaceOrientation == UIInterfaceOrientationLandscapeRight))
  {
      [self setTextViewHeight:107];
      NSLog(@"inside if self.interfaceorientation...");
  
  }
  </code></pre>