I do this with "Apple Lightning to USB Camera Adapter". iPad basically talks to the midi sequencer via USB.