I recently reset all settings on my iPad. Would that remove keylogging malware if it had been installed without my knowledge?
A personally owned iPad can't get keylogging malware unless it has been jailbroken, because that kind of software isn't in the App Store. If it was jailbroken, a full factory reset wipes everything, malware included. Note that "Reset All Settings" alone doesn't erase apps. If your employer manages the iPad, IT can install software without telling you, and you can't remove it.