I was looking up how to create a view programmatically and found the following example code:
self.view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
[[UIScreen mainScreen] bounds] or [[UIScreen mainScreen] applicationFrame]
[[UIScreen mainScreen] bounds]
[[UIScreen mainScreen] applicationFrame]
should be all you need to get the full screen size.
I've only used the applicationFrame version myself.
(I also suggested [UIHardware fullScreenApplicationContentRect] but that was from some very old code - don't use it)
[UIHardware fullScreenApplicationContentRect]