The swiping keyboard works with the Apple Pencil—in fact, it works a little bit BETTER with the Pencil than with your finger!