Is there a way to script/automate the fold-posture toggle for CI or XCUITest?

he only way we've found to change fold posture is the Simulator app's own toolbar control (cover/flat/bent icons); there's no xcrun simctl subcommand (ui, status_bar, etc. don't cover it) and no XCUITest API we've found. Is there a supported way to drive this programmatically for automated UI testing, the way XCUIDevice.shared.orientation works for rotation?

Is there a way to script/automate the fold-posture toggle for CI or XCUITest?
 
 
Q