Questions tagged [iphone-softkeyboard]

iPhone Soft keyboard is the onscreen keyboard provided by Apple iOS.

iPhone Soft keyboard is the onscreen keyboard provided by Apple iOS.

Please Check more details on below page

Virtual Keyboards on iPhone and Android

135 questions
399
votes
34 answers

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 use [txtView resignFirstResponder] to hide the…
Chilly Zhong
  • 16,763
  • 23
  • 77
  • 103
71
votes
11 answers

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 iphone safari... Thank you
Neo Wu
62
votes
10 answers

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. How can I disable the keyboard altogether? Any…
michael
  • 621
  • 1
  • 5
  • 3
44
votes
7 answers

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 can i support it? I saw a carbon framework, but…
Getsy
  • 4,887
  • 16
  • 78
  • 139
42
votes
4 answers

hiding keyboard ios

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 just can't seem to get…
Builder Brent
  • 455
  • 1
  • 5
  • 8
27
votes
7 answers

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 PhoneGap application - a website created in jQuery…
Zathrus Writer
  • 4,311
  • 5
  • 27
  • 50
24
votes
1 answer

How do I dismiss a UITextView using the Done keyboard button?

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 keyboard when I press on done, however when i click on…
aherlambang
  • 14,290
  • 50
  • 150
  • 253
15
votes
5 answers

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 figure out any way to dismiss the keyboard once the…
Lounges
  • 4,674
  • 5
  • 32
  • 43
14
votes
2 answers

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 reproduce this on any pre iOS 13 devices. I have…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
13
votes
1 answer

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" UIKeyboardWillShowNotification and…
Fattie
  • 27,874
  • 70
  • 431
  • 719
12
votes
6 answers

How to hide the keyboard programmatically in iphone

How to hide the keyboard programmatically in iphone?
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
10
votes
3 answers

MFMailComposeViewController Keyboard Issue

How do i dismiss the keyboard without pressing the Send or Cancel button in MFMailComposeViewController?! Thanks for any help.
10
votes
1 answer

How to hide keyboard - of - UITextView iPhone - by return Key

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?
sagarkothari
  • 24,520
  • 50
  • 165
  • 235
9
votes
3 answers

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?
JAA
  • 1,024
  • 3
  • 20
  • 34
9
votes
2 answers

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 Xperia but not in iPhone or iPad. Whenever the function…
Tunna182
  • 343
  • 3
  • 16
1
2 3
8 9