I’m having an issue when I deploy my app my phone. I am currently building the app on a 3gs, when the view is displayed, it is the iPhone 5 layout that shows, which makes some objects display partially off of the screen.
You can use the
[UIDevice currentDevice] class method. This will donate you information approximately the device like
If you need to obtain the screen dimensions instead, you could use the
[UIScreen mainScreen] class method. With it you could obtain the
applicationFrame or the screen
Hope this helps!