Password with pinpad


I recover a png from a service that is a pin pad with Numbers from 0 to 9, clear and enter. I Put a uiimageview, now I need whe I tap in a number, Put it in a uitextfield that I have, when I tap clear clear the uitextfield, and when I tap enter send data. How can I do that? If someone could send me and example, I would really appreciate.

Thanks in advance.

I don’t quite get what you need but have you tried setting Keyboard Type to Number Pad in the attribute inspector of the UITextField?