How to turn off network in ios device?

anybody reveal how to open Control Center in iOS device using appium?
answers will be appreciated.

new TouchAction(DriverConfig.getInstance().getDriver()).press(point(250, 735)).waitAction(waitOptions(Duration.ofSeconds(3))).moveTo(point(250, -460)).release()
.perform();

This should work