How many pixels is the available area for an image view in iPhone?
A:
Google is your friend: http://www.google.com/search?hl=en&q=iphone+screen+resolution&btnG=Google+Search&aq=0&oq=iphone+screen+res
(short answer: 480 x 320)
drewh
2009-03-31 16:20:37
Google is our friend, but StackOverflow is our best friend. ;)
Erick Sasse
2009-06-29 17:55:48
+7
A:
If you need to, you can have access to the full 480x320 screen with something like this:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
self.navigationController.view.bounds = CGRectMake(0,0,320,480);
self.navigationController.navigationBar.hidden = YES;
You will also find useful this info I found in this post:
Status bar: 20 pixels Nav bar: 44 pixels Tab bar: 49 pixels Toolbar: 44 pixels
Hope it helps.
Pablo Santa Cruz
2009-03-31 16:21:35
Here's another method to hide the status bar, this one will actually hide it while the application is loading (and displaying your loading screen)http://www.satosoft.com/?p=19
Kevin Laity
2009-04-01 02:08:16
Don't completely rely on these numbers. For instance the status bar can be 40px height if there's incoming phone call, the nav bar and toolbar can be smaller in landscape mode, and not to mention the 1024x768 iPad.
KennyTM
2010-03-01 09:55:49
A:
Here's a visual representation of the dimensions of the specific elements mentioned by Pablo.
paul_sns
2010-03-01 09:50:26