Q:

Keyboard-like popup buttons, iOS

Imagine a normal keyboard (like English). When pressing and holding A for a while, a new menu with á, ä and other buttons popups up. And while still holding the first finger down on screen, you slide it on top of another of those buttons. As you slide it over a button, it gets into highlighted mode (I assume), and when you slide out the highlighting is turned off. If you release the finger, the popup buttons disappear. If you held the finger over one of the buttons, that button's character is being typed into the text field...
I haven't found a way yet to pull this off. The long press thing isn't the problem. The problem is to allow sequential selection of the new buttons while still holding that first finger down - only one touch should be required to perform this.
The one touch allowing several selections is also existing in the passcode lock screen that pops up when going to Settings to change/edit current passcode settings. You can press and hold the 5, but if you slide that finger up to 2, 5 is deselected and 2 is selected and so on, without ever releasing the finger. (Also a UITextField with "Number pad" set has the same feature)
Anyone got an idea?

A:

you need to use the touchesBegan: , touchesMoved: and touchesEnded: methods to detect when the finger is in contact and when it is lifted. Check the Apple documentation. You'll have to add the subview showing the extra characters on long press(which, as you say, you've already done) then use the touchesMoved to confirm that the finger is still in contact. Select the character on touchesEnded:

