A bug on iPhone 6(+)
Method:SendTouchesEvent
float factor = 1.0f; if (width == 640 || width == 1536) factor = 2.0f;
rX = x/width*factor;
rY = y/height*factor;
here the "factor" is not the best way to get, please solve it
Did you manage to get it working on iOS 8.1?
I want to use other ways, but I don't know how I can get device's factor in backboardd.
I will just add if statements for new devices. if you have any idea, please fix it.
Is there a reason you can't just do this:
float scale = 1.0 if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)] == YES) scale = [[UIScreen mainScreen] scale];
???
Try that.. it will not working...