I want to remove microphone key from keyboard.But in code.
Can you help me?
Unfortunately, there seems to be no simple command to do so. Best way is to create custom keyboard and edit yourself.
Check this cocopod for your app
Custom keyboard
According to your question. Here is the link
UITextInputCurrentInputModeDidChangeNotification
I'm trying to set up a comment page in my app and I want to have the comment input field sitting right on top of the keyboard like Facebook, Instagram, Strava and many other apps have. But when the keyboard comes in it has suggestions on the top like so:
I want to disable the suggestions above the keyboard here so that I can put my textinput on top of the keyboard. Is this possible in React-Native?
React-Native: 0.44.0
So after a some more digging I found that if you set the autoCorrect prop on the TextInput itself to false, it removes the suggestions above the keyboard. No need to go into the native code to try and fix this.
ie: <TextInput autoCorrect={false}/>
For ios, accepted answer will work fine but i just wanted to add for the android.
So for android, to hide the suggestions, use keyboardType='visible-password' for the textInput where you want to hide the suggestions.
I think for Android:
autoCorrect={false}
For iOS, two properties need to disable suggestion bar:
autoCorrect={false} and spellCheck={false}.
If ReactNative exposes the autocorrectionType property on UITextField, you could set it to UITextAutocorrectionTypeNo.
I think that for iOS you looked for spellCheck={false}
Docs
This is an option that is enabled or disabled by the user, it would not be wise to place content here if it is critical for it to be shown (unless you are happy for the user to potentially need to scroll) for that reason.
There are some useful utilities available through react native that allow you to control the keyboard in other ways though, such as...
https://facebook.github.io/react-native/docs/keyboard.html
https://facebook.github.io/react-native/docs/keyboardavoidingview.html
there are also various other npm packages that are worth taking a look at too.
I'm looking to programmatically minimize the auto-correct ribbon found in iOS 8. Minimize meaning achieving the same effect as tapping and sliding the auto-correct ribbon down to hide/minimize it. I know how to remove it completely with _myTextView.autocorrectionType = UITextAutocorrectionTypeNo; - but this does not give the option to pull it back up if the user still wants it.
I haven't been able to find much about it. When I search for ...
hide autocorrect ribbon ios 8 sdk
Not much is returned of value. I've tried variations of that search but to no avail. Does anyone know if it's possible to do this?
Thanks in advance.
Currently i said no. Apple likes to give those kind of setting to the user only; not for developers. If you really need it off, you would have to design/create a Custom Keyboard.
I have a question. One thing I know is that I can customise the iOS keyboard, like add a few buttons using accessoryView, in my iOS app. Now what I want to ask here is that is there any way I can create a custom keyboard with my special keys and use that across multiple apps like Facebook or WhatsApp etc? Please do reply Thanks.
In Settings->General-Reset on an iPhone there is a list of blue text items that are , it seems to me to all intents and purposes, a series of buttons. I would like to implement such a button in my app settings. However I can't work out how this is done. In the Apple documentation there is nothing about a PreferenceSpecifier that would show this behaviour. I feel that I must be being particularly stupid about this and am missing some trick here. Would someone please point me in the right direction? Thank you
Silas
Apple can run code in Settings. You cannot. You can only declaratively change entry values in your settings.