Here’s an open source component that allows you to set up standard iOS keyboards but adding a number of customization options called CYRKeyboardButton.

CYRKeyboard allows customization with UIAppearance, allows you to add extended input options, and more.

Here’s an animation from the readme showing off the extended input options available:

And a source code example showing off how to configure CYRKeyboardButton with extended input options:

CYRKeyboardButton *keyboardButton = [CYRKeyboardButton new];
keyboardButton.translatesAutoresizingMaskIntoConstraints = NO;
keyboardButton.input = @"A";
keyboardButton.inputOptions = @[@"A", @"B", @"C", @"D"];
keyboardButton.textInput = self.textView;
[self.view addSubview:keyboardButton];

You can find CYRKeyboardButton on Github here.

A nice custom keyboard component.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>