If you have set the accessibility properties of the custom cell set correctly then the reorder control should be accessible. Let's assume the cell's set their accessibility labels/identifiers to "LondonStreet" and "BakerStreet", respectively.
You can reorder the cells by tapping and dragging from one reorder control to the next. The accessibility identifier for these controls is set automatically from the cell's information.
let app = XCUIApplication() app.launch() let topButton = app.buttons["Reorder LondonStreet"] let bottomButton = app.buttons["Reorder BakerStreet"] bottomButton.pressForDuration(0.5, thenDragToElement: topButton)
"Reorder " prefix was set by the OS. Try using the Accessibility Inspector to see what your reorder control's values are.