Turn off the device. Turn it back on while holding the HOME button. This will trigger the factory reset. There is no YES/NO prompt - and please don't turn off the unit while it's doing this.
Source: Link