I am using a splitView in iPad app. the detail view has 2 subView in it that draws themselves according to the etail view bounds. the problem is that they always draw themselves in (1024, 768) even when the ipad is in landscape mode.
BTW - if i call then in portrait mode and then rotate the ipad they do scale to (706,768).
I have checked the detail view frame and bounds as it created (in the view did load method) and in both cases i get this:
NSLog(@"screen frame = %@",NSStringFromCGRect(self.view.frame));
NSLog(@"screen bounds = %@",NSStringFromCGRect(self.view.bounds));
In the debug window I get:
2011-03-03 10:58:19.376 English Club[63347:207] screen frame = {{0, 0}, {768, 1024}}
2011-03-03 10:58:19.382 English Club[63347:207] screen bounds = {{0, 0}, {768, 1024}}
I cannot find out where the problem is. Can anyone help me?
Thanks for any help.