Learn Courses My Dashboard

Connect iPad to iMac


is it possible to check in SwiftUI if your device (iPhone oder iPad) is connected to your iMac (with USB-cable)? And when it is connected the inputs you make on the keyboard on the iPad will directly transferred to the iMac?

Thanks in advance.