Questions tagged [uikeyboard]

uikeyboard is an iOS object used to represent a keyboard. Implementors use it to create an interface which approximates a physical keyboard

1026 questions
53
votes
5 answers

InputAccessoryView docked at bottom

I'm trying to achieve similar positioning behavior as the bottom text input bar in Apple's Messages app. I have tried many approaches, searched high and low and there are many similar questions but none have been satisfactory. To specify: There is…
51
votes
9 answers

UIKeyboardBoundsUserInfoKey is deprecated, what to use instead?

I'm working on an iPad app using 3.2 sdk. I'm dealing with obtaining the keyboard size to prevent my textfields from hidding behind it. I'm getting a Warning in Xcode -> UIKeyboardBoundsUserInfoKey is deprecated what should I use instead not to get…
Mikeware
  • 867
  • 2
  • 8
  • 12
48
votes
7 answers

in iOS8 using .focus() will show virtual keyboard and scroll page after touch

Prior to iOS8, using the Javascript .focus() method on an input element would appear to have no effect (the virtual keyboard would not display). After the latest iOS 8 release, running the .focus() method seemed to have no effect on page load but…
Mac Mad Ill
  • 853
  • 1
  • 9
  • 19
44
votes
8 answers

How to add done button on keyboard on top of keyboard in IOS?

I want to add the Done button on the top of keyboard on right side in iOS for a textView.Please tell me how can i do that? I want to achieve something similar to the above keyboard
TechChain
  • 7,104
  • 20
  • 81
  • 193
39
votes
4 answers

iOS - How can I preload the keyboard?

The Problem In most iPhone apps, there's a quite a bit of delay the first time that the keyboard is presented (presumably creating the keyboard takes quite a bit of oomph, even on an iPhone 4). Most people seem ok with this. I'm not, it really bugs…
Jordan Smith
  • 10,122
  • 7
  • 63
  • 111
37
votes
6 answers

It is possible to show keyboard without using UITextField and UITextView iphone app?

I am working in iPhone messaging based app. I want to show keyboard with keyboard inputAccessoryView in keyboard without using UITextView and UITextField. It is possible to do this? Please any one help me on this. Thanks in advance. Looking…
Gopinath
  • 5,192
  • 20
  • 62
  • 97
36
votes
5 answers

Leaving inputAccessoryView visible after keyboard is dismissed

What I'm trying to do is to create something similar to the "find on page" search function in Safari on iPad. I'm using a UIToolbar with some items in it and attached it to the keyboard by setting it as an inputAccessoryView on the UITextField.…
Tom van Zummeren
  • 8,729
  • 12
  • 48
  • 59
35
votes
4 answers

Autolayout Constraint - Keyboard

Im stuck trying to animate a table view smoothly which has an autolayout contraint. I have a reference to the constraint "keyboardHeight" in my .h and have linked this up in IB. All i want to do is animate the table view with the keyboard when it…
Marty W
  • 405
  • 1
  • 5
  • 12
28
votes
6 answers

Is there a way to prevent the keyboard from dismissing?

I realize that this is the inverse of most posts, but I would like for the keyboard to remain up even if the 'keyboard down' button is pressed. Specifically, I have a view with two UITextFields. With the following delegate method -…
PengOne
  • 47,332
  • 17
  • 126
  • 147
28
votes
4 answers

Numeric keyboard with decimal

I´m building an app with equations and I have used a numeric keyboard but I want to have a decimal slot on it. The default is only numbers. How do you add a decimal input on that keyboard? This is the code I use to get the numeric…
Kevin
  • 345
  • 1
  • 3
  • 9
27
votes
3 answers

Convert UIKeyboardFrameEndUserInfoKey to View or Window Coordinates

For the constant UIKeyboardFrameEndUserInfoKey, in the Apple docs it says: These coordinates do not take into account any rotation factors applied to the window’s contents as a result of interface orientation changes. Thus, you may need to…
Ser Pounce
  • 13,548
  • 14
  • 76
  • 162
26
votes
5 answers

UIView atop the Keyboard similar to iMessage App

currently I'm attempting to basically implement and exact copy of Apples iMessage App. That means I need a UITextView that is docked at the bottom of the screen, and moves up when it becomes firstResponder. - That's pretty easy actually. There's a…
pkluz
  • 4,886
  • 4
  • 23
  • 39
25
votes
1 answer

Has anyone found a good way of using the new iOS5 keyboard events?

During development of a recent feature for my iPad app, I realized that the new iOS5 keyboard docking/splitting behavior was causing huge issues. I use an inputAccessoryView for the keyboard with a text field on it similar to Safari's find on page…
TahoeWolverine
  • 1,683
  • 2
  • 23
  • 31
24
votes
1 answer

iOS "Gboard" app, UIKeyboard notification height is wrong or invalid

I'm trying to move the view up when the keyboard pops up over the UITextfield which is placed on UIScrollView. I'm using UIKeyboardWillShowNotification and UIKeyboardWillHideNotification for this. It's working perfectly when using iOS Keyboard…
arthankamal
  • 5,280
  • 2
  • 34
  • 48
24
votes
7 answers

How to show button ‘Done’ on number pad on iPhone OS 4?

I'd like to add a Done button to the iPhone number pad keyboard. There's even a handy space at the bottom left for just such a button. Previously, I was using a similar trick to those described in Question 584538 and Luzian Scherrer's excellent blog…
Will Harris
  • 21,303
  • 11
  • 62
  • 63
1
2
3
68 69