Apple's Switch Control lets one device operate other Apple devices nearby
Apple's iOS accessibility feature Switch Control can extend beyond a single iPhone or iPad, letting users control other Apple devices on the same Wi-Fi network and iCloud account using one set of switches. Setup requires enabling Switch Control and platform switching on each device, then selecting 'Use Other Device' from the Switch Control menu to begin remote operation.