jazzcoding.com
iPhone Device & Screen Sizes and Resolutions +Xr
To get the screen dimensions (in points) of the current device: Objective-C: CGRect screenBounds = [[UIScreen mainScreen] bounds]; // Macros: #define screen_width [ [ UIScreen mainScreen ] bounds ]…