Question

How would I go about creating a custom number pad like what is used in 'Tipulator' and other apps.

I know how you can customize UIKeyboard, but their number pad doesn't look at all like the default number pad. Is it even a UIKeyboard or a separate UIView?

Was it helpful?

Solution

I've been working with keyboards for quite a time. I would say that the easiness of this depends on what your target text input view is. If is a UITextView then we are fine, if is UITextField you might have some problems because you don't have access to current cursor text position like un UITextView. (You might check UITextView and UITextViewDelegate methods)

If you just want to set a string and don't mind current cursor text position, then you don't need a keyboard. (I think this is the case of Tipulator)

BTW: I just saw Tipulator in youtube and there is no necessity of a keyboard for doing that.

OTHER TIPS

Judging by the looks: It's a custom UIView subclass. Basically, it's just a panel with 11 buttons on it, so it should be rather easy to do.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top