Questions tagged [iphone-softkeyboard]
iPhone Soft keyboard is the onscreen keyboard provided by Apple iOS.
                                	
	iphone-softkeyboard
    
                            
                        
                    
            135
            questions
        
        
            401
            votes
        
        
            34
            answers
        
        
            326k
            views
        
    How to dismiss keyboard for UITextView with return key?
                In IB's library, the introduction tells us that when the return key is pressed, the keyboard for UITextView will disappear. But actually the return key can only act as '\n'. 
I can add a button and ...
            
        
       
    
            71
            votes
        
        
            11
            answers
        
        
            89k
            views
        
    how to hide the keyboard when empty area is touched on iphone
                normally when you touch the text input area, the keyboard pops up and when you touch the empty area of screen, the keyboard disappeared. How to make that happen?
just like what we experienced on ...
            
        
       
    
            62
            votes
        
        
            10
            answers
        
        
            68k
            views
        
    Disable UITextField keyboard?
                I put a numeric keypad in my app for inputing numbers into a text view, but in order to input numbers I have to click on the text view. Once I do so, the regular keyboard comes up, which I don't want.
...
            
        
       
    
            46
            votes
        
        
            7
            answers
        
        
            39k
            views
        
    iPhone: Change Keyboard language programmatically
                I am trying to provide a different language support on my iOS 5.x application whenever native Keyboard is opened. Provide this language in native keyboard programmatically. Could someone guide me how ...
            
        
       
    
            42
            votes
        
        
            4
            answers
        
        
            87k
            views
        
    hiding keyboard ios [duplicate]
                I have a few text inputs and I can hide the keyboard whenever I touch the background, but only when I have been entering into the first text box name textField1. now this code should be simple but I ...
            
        
       
    
            27
            votes
        
        
            7
            answers
        
        
            22k
            views
        
    Programmatically show soft keyboard on iPhone in a PhoneGap application?
                I've been searching far and long, and to this moment, I did not come across a working solution for PhoneGap / Cordova applications that would show soft keyboard programmatically.
Scenario:
We have a ...
            
        
       
    
            24
            votes
        
        
            1
            answer
        
        
            22k
            views
        
    How do I dismiss a UITextView using the Done keyboard button? [duplicate]
                Possible Duplicate:
  How to dismiss keyboard for UITextView with return key?  
I have a UITextView and have done the following:
text.returnKeyType = UIReturnKeyDone;
so that I can dismiss the ...
            
        
       
    
            15
            votes
        
        
            5
            answers
        
        
            36k
            views
        
    Dismiss iphone keyboard
                I am trying to recreate something similar to the popup keyboard used in safari.
I am able to visually reproduce it by placeing a toolbar over my view and the appropriate buttons, however i cant ...
            
        
       
    
            14
            votes
        
        
            1
            answer
        
        
            6k
            views
        
    Using only UIKeyboardWillChangeFrameNotification notification
                Considering the new QuickType section of the keyboard.
Is it quite true that one can use ONLY a notification for UIKeyboardWillChangeFrameNotification,
and simply "not bother with" the "older" ...
            
        
       
    
            14
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    Returning false in shouldChangeTextInRange method auto capitalize all letters
                I am seeing a strange issue with UITextView in latest iOS versions. As per my current understanding, it is only occurring in iOS 13.  One of my users reported this on iOS 12.4.1, though I am unable to ...
            
        
       
    
            12
            votes
        
        
            6
            answers
        
        
            9k
            views
        
    How to hide the keyboard programmatically in iphone
                How to hide the keyboard programmatically in iphone?
            
        
       
    
            10
            votes
        
        
            1
            answer
        
        
            29k
            views
        
    How to hide keyboard - of - UITextView iPhone - by return Key [duplicate]
                In a UITextView, when we click on it,
A keyboard appears,
but when user press return key, (normally creates a new line in textView)
keyboard should go down.
How?
            
        
       
    
            10
            votes
        
        
            3
            answers
        
        
            2k
            views
        
    MFMailComposeViewController Keyboard Issue
                How do i dismiss the keyboard without pressing the Send or Cancel button in MFMailComposeViewController?!
Thanks for any help.
            
        
       
    
            9
            votes
        
        
            3
            answers
        
        
            5k
            views
        
    Keyboard hides TabBar
                I am working in a TabBar app. In one view there is a UISearchBar and, when is pressed, the keyboard appears.
The problem is that the keyboard hides the tabbar.
Do you know how to solve it?
            
        
       
    
            9
            votes
        
        
            2
            answers
        
        
            983
            views
        
    Keep iOS keyboard open while keyup function runs
                This question is about iOS web dev.
I have a function which is fired by a keyup listener in a "Search" input field.
It works perfectly on a Desktops, Laptops, Samsung Galaxy phones and the Sony ...
            
        
       
    
            8
            votes
        
        
            4
            answers
        
        
            11k
            views
        
    Custom iPhone Keyboard
                I need (i.e. a customer requirement) to provide a custom keyboard for the user to type text into both text fields and areas.  I already have something that does the keyboard and appends test to a text ...
            
        
       
    
            8
            votes
        
        
            2
            answers
        
        
            19k
            views
        
    Show iPhone keyboard programmatically
                I want show the iphone keyboard. How can I write the code (programmatically) to show the keyboard.
            
        
       
    
            7
            votes
        
        
            3
            answers
        
        
            14k
            views
        
    Receive iPhone keyboard events
                Is there anyway to trap all keyboard events across my application? I need to know if user is entering anything using keyboard across my application (Application has multiple views). I was able to ...
            
        
       
    
            7
            votes
        
        
            4
            answers
        
        
            11k
            views
        
    iphone keyboard without textview
                is it possible to bring up the keyboard in an iphone app without a textview? or will i have to have an invisible textview?
if so, how do you programatically create a textview and then bring up the ...
            
        
       
    
            6
            votes
        
        
            3
            answers
        
        
            14k
            views
        
    Show a view over the keyboard
                I am looking for a way on the iPhone, due to a custom 'loading' subview, to have a subview cover the keyboard without dismissing the keyboard. Right now when the subview loads, the keyboard is still ...
            
        
       
    
            6
            votes
        
        
            3
            answers
        
        
            4k
            views
        
    UIMenuController hides the keyboard
                I currently have an application which is for chatting.
I used a UItextField for input box and bubbles for display messages, some thing like the system SMS.
I want to enable copy paste on the message ...
            
        
       
    
            6
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    UITextField with numbers and default keyboard
                Created a UITextField for "Postal Code/ZIP" field with a keyboardType of UIKeyboardTypeDefault. I would like to use the default keyboard but want the numbers & symbols to be shown by default as ...
            
        
       
    
            6
            votes
        
        
            6
            answers
        
        
            10k
            views
        
    PhoneGap Page scroll up after Keyboard appearance in iOS devices that makes the PhoneGap page corrupted
                I am trying to develop a chatting application using PhoneGap for iOS devices. The application has a header that shows the logged user, a footer where user can write his text message, and a list view ...
            
        
       
    
            5
            votes
        
        
            5
            answers
        
        
            12k
            views
        
    Hide Virtual Keyboard of UITextView when 'Done' Presses
                I want to hide (resignFirstResponder) the virtual keyboard of UITextView when 'Done' presses. Theres no 'Did End on Exit' in UITextView. In UITextField i connect the 'Did End on Exit' with an IBAction ...
            
        
       
    
            5
            votes
        
        
            2
            answers
        
        
            1k
            views
        
    Change the colour of Keyboard in iphone
                Hi is there any way of changing the colour of keyboard or we have to get some custom keyboard for it , any suggestions?
            
        
       
    
            5
            votes
        
        
            3
            answers
        
        
            2k
            views
        
    open android and ios keyboard with uppercase using html
                i am creating a web page for mobile devices. In that there are few input fields which require user to always enter data in uppercase. 
I looked at few options like 
text-transform property of css
 ...
            
        
       
    
            5
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    Can the software Keyboard toggle on the iOS Simulator always be toggled on?
                I'm testing an app using KIF and every time the test starts I have to manually toggle the software keyboard on and short of using a script to make it turn on is there a way to turn it on by default ...
            
        
       
    
            4
            votes
        
        
            8
            answers
        
        
            5k
            views
        
    Dismissing the keyboard for a UITextField in UIAlertView
                I have a Customized UIAlertView.I have a UITextField in that AlertView, which becomes the firstResponder as soon as it is shown. Now I need to dismiss the keyboard for that UITextField when user ...
            
        
       
    
            4
            votes
        
        
            2
            answers
        
        
            509
            views
        
    iPhone/iPad Keyboard Dimming
                I am writing a universal app that will be used primarily at night.  I will need to display a keyboard but do not want the light colors of the keyboard to blind the user and/or spoil their night vision....
            
        
       
    
            4
            votes
        
        
            2
            answers
        
        
            557
            views
        
    Textfield in the keyboard
                How do you make a keyboard have a textfield inside like the messages app ?
            
        
       
    
            4
            votes
        
        
            3
            answers
        
        
            3k
            views
        
    Numeric keyboard dismiss?
                HI all,
I am having a 2 textFeild and 1 textview.
out of 2 textfeild,one textfield requires number to be filled in there.
so for that i hv provided numeric keyboard.
i m not able to dismiss numeric ...
            
        
       
    
            4
            votes
        
        
            1
            answer
        
        
            326
            views
        
    Keyboard doesn't receive taps after app has been in the background
                I've just shipped an iOS 8 update to my crossword app, Four Down, and have started receiving reports that it gets into a state where answers can't be entered as tapping the keyboard dismisses it ...
            
        
       
    
            4
            votes
        
        
            0
            answers
        
        
            946
            views
        
    Text field get hidden behind softkeyboard in Phonegap on iPhone4S
                I was making a Phonegap App in which there is a input field inside a iscoll4 container. The gray background is of iscroll and a text field is a "Enter ID". The Screen Shot is before 
When I click on ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            3k
            views
        
    Get the current text inside of a textfield for IOS custom keyboard
                I am developing a IOS custom keyboard. I was wondering if there was a way to fetch the current text inside of the text field and how it would work.
For example, we can use textDocumentProxy.hasText() ...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            6k
            views
        
    How to cancel the keyboard in UISearchbar?
                I'm using UISearchBar in my application and it serves as both an edit field as well as a search.  So when I want to disappear the keyboard I have to use cancel button in UISearchBar but I can't have ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            4k
            views
        
    Hide keyboard in UIWebView
                Is there a way to make a UIWebView dismiss all associated input controls, such as keyboards/pickers?
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    Resign keyboard on 'Done' button of keyboard
                I want to resign keyboard on click of 'Done' button on keyboard. How can i do this? I have following code =>
textView.returnKeyType = UIReturnKeyDone;
I have this code for limiting number of ...
            
        
       
    
            3
            votes
        
        
            5
            answers
        
        
            2k
            views
        
    How to hide default keyboard
                I have 5 UITextFields added on a form. One of the textfileds is for entering the date of birth. So when that particular textfield is touched instead of displaying the default keyboard, datepicker ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            5k
            views
        
    iOS Keyboard Location and Orientation
                I'm relatively new to iOS SDK, and I'm experiencing a very bizarre issue regarding the device keyboard location and orientation for an app I'm working on. The problem is that if the keyboard is open ...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            2k
            views
        
    No Keyboard with UIAlertViewStylePlainTextInput ?
                I have a problem with the UIAlertViewStylePlainTextInput. I get my Alert with the textfield but there is no Keyboard coming up..? Here is my code:
UIAlertView *enter = [[UIAlertView alloc] ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            1k
            views
        
    iPhone transparent keyboard
                How could I change the look and feel of standard UIKeyboard object. I want to create transparent keyboard for UITextField object.
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            2k
            views
        
    White panel arrives on double tap from bottom in PWA in standalone mode
                We have found a behaviour that in my opinion is a bug in Safari. Install the PWA on iOS to Home Screen, open app in standalone mode and tap to any text input, close the keyboard and double-tap on free ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            2k
            views
        
    iPhone keyboard return key color
                Can we change the color of the iPhone keyboard return key color?? And does apple supports it?? If yes could you please help me out in changing it.
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            157
            views
        
    Keyboard information inside "didRotateFromInterfaceOrientation"
                How can I deduce the information if the keyboard is visible while device orientation is changed? Does this information is sent inside - (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)...
            
        
       
    
            3
            votes
        
        
            0
            answers
        
        
            8k
            views
        
    iOS Bluetooth Keyboard Detection at Runtime
                Is there any way in iOS SDK to detect the presence of an active Bluetooth keyboard? As many well know, when a Bluetooth keyboard is active, the on-screen keyboard does not show, so interface ...
            
        
       
    
            3
            votes
        
        
            2
            answers
        
        
            763
            views
        
    UICatalog and Keyboard Events
                The latest version of Apple's UICatalog example application includes zero code in the TextFieldController for handling keyboard show/hide events, and yet the table view still slides up and down ...
            
        
       
    
            2
            votes
        
        
            5
            answers
        
        
            5k
            views
        
    Keyboard hides UITextField. How to solve this?
                I have a textField which is at bottom of the screen. When I begin editing, the keyboard appears and hides the textField. 
Can anyone suggest how to solve this?
            
        
       
    
            2
            votes
        
        
            3
            answers
        
        
            3k
            views
        
    UIView not appearing over keyboard?
                I have this code:
JMenuController *menuController = [[JMenuController alloc] init];
    NSArray *buttonsArray = [NSArray arrayWithObjects:@"From Libary", @"Take Photo or Video", nil];
    [...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            789
            views
        
    How to change the displayed title of a soft keyboard in iOS?
                Here's how my soft keyboard's title is currently displayed among the keyboard choices in iOS:
I'd prefer for it to be displayed like the Gboard example above it, simply as "ASETNIOP" on the top line ...
            
        
       
    
            2
            votes
        
        
            3
            answers
        
        
            5k
            views
        
    iPhone keyboard return key
                I need to customize the iphone keyboard. How can I do it? Also it is needed to place the return key of the keyboard with my project logo. How is it possible?