Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Would it be OK to add a custom button on a system keyboard in iPad

Tags:

ios

ipad

ios-4.2

I have a requirement wherein I have to change the text of the return key of the iPad to Sign-in. Obviously it is not one of the options available in the sdk. I have searched it over the net and it seems doing that possible.

The only question remaining is whether the app would be accepted by Apple if I modify the default system keyboard? The HIG is not clear on this , it states that "A custom input view can replace the system-provided onscreen keyboard in apps" and "You can also provide a custom input accessory view, which is a separate view that appears above the keyboard (or your custom input view)". Nothing about whether we are allowed to add an extra button on a system keyboard.

Any experiences??

like image 839
Vin Avatar asked Mar 04 '11 06:03

Vin


People also ask

How do I customize my Apple keyboard?

Go to Settings > General > Keyboard > Keyboards. Tap a language at the top of the screen, then select an alternative layout from the list.

What is the Option key on iPad keyboard?

The Option key, ⌥, is a modifier key present on Apple keyboards. It is located between the Control key and Command key on a typical Mac keyboard. There are two Option keys on modern (as of 2020) Mac desktop and notebook keyboards, one on each side of the space bar.


2 Answers

@Vin you can change the name of return key of the keyboard to your requirement. I have an app that has the changed to return key name to Done and Search. And apple did not reject it.

like image 125
Robin Avatar answered Oct 02 '22 12:10

Robin


To "Sign-In" you can use the return key UIReturnKeyJoin

textField.returnKeyType = UIReturnKeyJoin;

EDIT

Nope. You get the return key and keyboard types defined in the OS. Unless you want to try to hack the keyboard's view hierarchy to change that button, which would be a really bad plan. (Standard recommendation here is to file a bug report with Apple to let them know you'd like more/different options.)

see Custom iPhone return key text

like image 31
Manni Avatar answered Oct 02 '22 12:10

Manni