I am trying to build my application with retina resolution (2048x1536) but using :
NSLog(@"resolution from xcode %f %f", [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
I always get 1024x768 resolution. any ideas how to setup retina resolution?
You’re getting the value in points, not pixels.
From Apple’s docs: