This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Description
Running WDA on Physical Device:
iPhone 7 Plus | iOS 12.1.2
The following code in any WDA API (e.g. status):
[UIScreen mainScreen].scale; //Returns 2.
[XCUIScreen mainScreen].scale; //Returns 2.
On Simulator(iPhone 7 Plus) 3 is returned.
Should this not be 3 on physical device as well? If so, any idea how to get around this problem? Generally on forums its suggested to add appropriate Launch Screen / Image to app. But WebDriverAgentRunner has target application set as None. So not sure where to add the launch image/screen.