Hello all,
I'm an iPhone dev newbie, and I'm running into a problem figuring out how much of an UIView I'm able to use when the UIViews's controller is part of an UITabController. I'm initializing the window as
window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
and the view as
myView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
The window is coming back as 320x480, and the view as 320x460 (the 20 pixel difference is, I assume, the status bar on top).
However, the view is part of a UITabController, and I don't know how to calculate the amount of space that is availabe when taking that tab bar into account. Any ideas?