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...
I say this because in the debugger (and the log) the lines inside the braces get skipped if I've compiled for 3.0
This is inside of a textViewDidBeginEditing method on a textView...
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...
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...
Thanks in advance for any advice...
if((self.interfaceOrientation == UIInterfaceOrientationLandscapeLeft)||(self.interfaceOrientation == UIInterfaceOrientationLandscapeRight))
{
[self setTextViewHeight:107];
NSLog(@"inside if self.interfaceorientation...");
}