Fix touch coordinates for Zoomed display mode and apps that are not optimized for iPhone 6 screen sizes #339
Resolves:
This PR fixes the touch coordinates for all these cases except one: Non-optimized apps in Zoomed display mode on iPhone 6 Plus physical devices.
Tested against the iPhoneOnlyApp in these 6 configurations:
Target an iPhone 6 simulator
Target an iPhone 6 Plus simulator
Target an iPhone 6 in Zoomed mode
Target an iPhone 6 in Standard mode
Target an iPhone 6 Plus in Zoomed mode
Target an iPhone 6 Plus in Standard mode
Background
The server must be able to detect two Scenarios:
When the device is in Zoomed vs. Standard mode
When the application is not optimized for the iPhone 6* screen sizes.
In the first case, the sample factor does not change. In the second case, the
sample factor must change.
The iPhoneOnly app is not optimized for the larger screen sizes; it is
missing the required launch images, the correct app icons, and the image assets
in @3x sizes. This Scenario tests that sample factor is correct in Zoomed and
Standard display modes. There a several 2x2 point buttons that, when touched,
change the action label (in the middle of the view).
Motivation
Related to:
Resolves:
Tested against the iPhoneOnlyApp in these 6 configurations:
Background
The server must be able to detect two Scenarios:
In the first case, the sample factor does not change. In the second case, the sample factor must change.
The iPhoneOnly app is not optimized for the larger screen sizes; it is missing the required launch images, the correct app icons, and the image assets in @3x sizes. This Scenario tests that sample factor is correct in Zoomed and Standard display modes. There a several 2x2 point buttons that, when touched, change the action label (in the middle of the view).