I am facing issue with change orientation for iPhone 6. Below are the versions of iOS and appium I already tried with different combinations:
iOS: 9.0, 9.2
appium: 1.4.13, 1.4.14
I tried below codes to change the orientation of iPhone 6 but no luck and same code is working fine for iPad Air:
capabilities.setCapability("orientation", "LANDSCAPE");
((AppiumDriver) driver).rotate(ScreenOrientation.LANDSCAPE);
((IOSDriver) driver).rotate(ScreenOrientation.LANDSCAPE);
If anybody have solution, please suggest