image that matches iPhone's pixel dimensions/ppi doesn't render properly in simulator

SOLVED: had to put @3x at the end of the image name


ALSO: an image with dimensions of 2208x1242@461.15ppi fits the iPhone6S+'s screen perfectly


Hi, I am using XCode v6.4 and I have a question about how images resolution matches iOS device pixel resolution.


Supposedly, the iPhone6S+ has internal pixel dimensions set to 2208x1242 pixels @ ~461.15ppi. These dimensions are then down-sampled to fit the actual screen's dimensions, which are 1920x1080 @ 401ppi. In sum:


iPhone6S+ = 2208x1242@461.15ppi (internal) -> 1920x1080@401ppi (physical)


I assumed therefore that an image, if given the exact same pixel dimensions (1920x1080@401ppi, for example) would fit perfectly inside the iPhone6S+ screen. So, I created an image with the iPhone6S+'s pixel resolution (1920x1080@401ppi), put it into XCode and ran the simulator to see if it did indeed occupy the entire screen perfectly (or nearly perfectly). It turns out that the image was way too big! The image was about 3x larger than the screen!


Shouldn't an image that matches the screen's resolution (1920x1080@401ppi) fill up the screen percectly?

Thank you for reading, this is really killing me.

I am also trying to grasp exactly how to implement the game when dealing with mutliple devices.

PS. I made sure I was testing on "iPhone 6 Plus" in the simulator.


switchgoof

NEVERMIND, solved it myself.


The answer is that I have to put a @3x at the end of my image name. Ok, that works.

image that matches iPhone's pixel dimensions/ppi doesn't render properly in simulator
 
 
Q