This requires iKeyguard 2.1.0 or higher to use. Get iKeyguard here
SBSettings toggle for the only key logger for the iPhone/iPad - iKeyGuard. You need to have iKeyGuard installed for this to work.
This toggle allows you to quickly enable/disable keystroke logging with iKeyGuard.