Я пытаюсь открыть Центр управления с помощью appium и следующего кода:
int halfWidth = driver.manage().window().getSize().width / 2;
int screenHeight = driver.manage().window().getSize().height;
driver.swipe(halfWidth, screenHeight-5, halfWidth, screenHeight-300, 500); // driver is instance of IOSDriver
Вместо открытия центра управления приложение просто рисует вверх экран снизу (используя ввод координат). Кто-нибудь знает, как открыть Control Center, используя appium и проведите (или любым другим способом)?
Спасибо, Чарли