I am trying to load a custom image if the device is iPhone 5. In my Simulator I selected hardware->Device->Retina 4 inch. Now with the code below
[UIScreen mainScreen].bounds.size.height * [[UIScreen mainScreen] scale]
I expected to see the value of 1136 here. But it gives 960.
What is going wrong here ?