I am trying to recreate something similar to the popup keyboard used in safari.
<
Have you tried:
[viewReceivingKeys resignFirstResponder];
where viewReceivingKeys is the UIView that is receiving the text input?
viewReceivingKeys