I have a UINavigationController containing an UIViewController initialized with a UIView.
The UINavigationController also has a UINavigationBar as usual.
Previously when I positioned a new element in the UIView at 0,0 using
CGRectMake(0,0,height,width);
It would position it directly beneath the UINavigationController. However since compiling with 2.2 it now positions 0,0 directly behind the UINavigationBar (where you would expect 0,0 to be normally).
This only happens when the application is recompiled with the 2.2 SDK – the application left on the iPhone from before the upgrade still works as expected.
Thing is, I quite want my application to draw correctly with 2.2 as well as be backwards compatible with 2.1
Has anyone seen this behaviour, or know anything more about this?
Thanks!
There is a whole (very useful) thread on things that 2.2 broke over on the Apple dev forums. It includes this issue (though without any fix). I’ve seen it mentioned elsewhere as well.
It’s worth checking it out
https://devforums.apple.com/message/12297#12297 (link fixed)