Hi guys,
I have a prototype I'm working on and I've run into a strange issue. My screen resolution is set to that of the iPhone 6 4.7 inch in portrait mode (750, 1334) pixels however my gesture recognizer doesn't see that resolution.
For example if I touch in the middle of the screen I expect a value close to 375, instead I get a value around 187. My guess is that the coordinate system is somehow different on retina screens but I'm not sure.
Has anyone seen this? Does anyone know how to get the screen pixel values of the touch or the width of the screen in points instead of pixels?
I have a prototype I'm working on and I've run into a strange issue. My screen resolution is set to that of the iPhone 6 4.7 inch in portrait mode (750, 1334) pixels however my gesture recognizer doesn't see that resolution.
For example if I touch in the middle of the screen I expect a value close to 375, instead I get a value around 187. My guess is that the coordinate system is somehow different on retina screens but I'm not sure.
Has anyone seen this? Does anyone know how to get the screen pixel values of the touch or the width of the screen in points instead of pixels?