In XCode, I have set my IOS simulator as iPhone (Retina 3.5-inch). However in my code, when I display the screen dimensions (using Bounds CGRect), I get 320 x 480 instead of expected 640 x 960. Any idea why ? I am using the latest XCode and output is named iPhone 6.1 Simulator. Thanks.