uikeyboard

UIKeyboardBoundsUserInfoKey is deprecated, what to use instead?

Hi, 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 this warning? ...

enabling the "return button" in a UITextField keyboard (objective-c/iphone)

When I start editing a UITextField, I have the "Clear When Editing Begins" option checked so it starts off with no text. However, the "Return" button is grayed out until you type at least one character. I've seen other iphone apps where the "Return" button is not grayed out (and if you press it with no text, then it goes back to what th...

iPhone SDK NumberPad custom inputView for done button

Currently I have a textfield, which pulls up a NumberPad keyboard for input. I want the NumberPad keyboard layout, but I need a button to resign that responder. Is there a way to code the UITextField so that it has a NumberPad keyboard and the space on the left of the keyboard which is blank is replaced with a 'Done', 'Send' or 'Go' bu...

textFieldShouldBeginEditing + UIKeyboardWillShowNotification + OS 3.2

I have multiple textfields on a UIView. I resign for a previous textField in textFieldShouldBeginEditing method, where following sequence of events are performed UIKeyboardWillHideNotification is received corresponding to that field where the keyboard for the previous field is hidden. the method textFieldShouldBeginEditing returns a...

Bring to front DatePicker on an UITextField

Hi, When an UITextField is firstResponder, I would like to bring to front an UIDatePicker (bottom part of the screen) without the "going down keyboard" (no call to UITextField resignFirstResponder). The aim is to process like UIKeyboard of UITextField which pop-up on nearly everything when it becomeFirstResponder. modalViewController s...

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 post, but that stopped working in iOS 4. I can do it by creating a custom inputView, but...

UIKeyboard slides from wrong coordinates when in landscape, why?

Hi I have an app that starts in Landscape Right mode. When I tap a textField the keyboard should slide up, however first time when the keyboard slides it slides from the right (where the home button is). After that it slides up and down as expected. So only the first time when I call the keyboard in it comes from where it would com...

toolbar on top of the keyboard with firstresponder

This is a pretty common topic and has many answers out there. Situation: I have a full screen (minus toolbar) UITextView with a UIToolbar at the bottom. when the UITextView gets first responder I want to have the toolbar slide up with the keyboard and add a "done" button which will dismiss the keyboard. So far: I have this completely ...

Weird Keyboard behavior when the device rotates.

This is something that happens to me really often. I have a textfield in a table view cell, when I try to edit the textfield the keyboard appears, and when I rotate the device from landscape to portrait, this is what I get. Any ideas? Thanks in advance. ...

iPhone/iPad keyboard shortcuts?

There's an action in my program which users need to perform very frequently (potentially hundreds of times per session), and I'd like to add a keyboard shortcut for users with a bluetooth keyboard. Is there any way to do this? Right now, the closest I've come is triggering the action whenever the U+F8FF character is entered (shift+alt+k...

How can I create some view over UIKeyBoard?

I fill information then tap "Done" button for doing some process and show loading view for waiting. I need loading view is over every view, but How can I do? Thanks for adviser. Here is my image (I'm new in here, so I can't post image) http://www.freeimagehosting.net/image.php?62e2584aea.png ...

How to set Custom keyboard specific to only a UItextfield

How to set Custom keyboard specific to only a UItextfield ? When i am changing using this method , all the keyboards in my application are changed to this new custom keyboard. I added [[NSNotificationCenter defaultCenter] addObserver:self.view selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil]; ...

Best practice for UIKeyboard notifications - iPhone SDK

Hi all, I have a drill down navigation app with three levels of UIViewControllers. In each view controller, I have a UITextField where I am trying to subclass the UIKeyboard for each. My question is where to "set" notifications and "unset" them. I have the notifications: [[NSNotificationCenter defaultCenter] addObserver:self selecto...

Keeping keyboard visible while scrolling through searchable UITableView

Hi, I have a search bar that filters through contacts in a plist. The entries that match are listed in a table view in between the search bar and keyboard. When a user scrolls through the matches, the keyboard disappears leaving only the table view and search bar visible. How can I set up the keyboard so that it remains visible while a ...

How to toggle between UITextView's inputviews.

Hi, I am getting problem in making my application compatible with iphone 4.0 My problem is like this. When i click on a UITextview a custom keyboard is showing UIView *test=[[UIView alloc] initWithFrame:CGRectMake(0, 160, 320, 215)]; UIExtendedKeyBoard *objKeyBoard =[[UIExtendedKeyBoard alloc] initWithFrame:[test bounds]]; ...

Dismiss keyboard on IPAD

Hi, The ResignFirstResponder for an UITextField on the Iphone semms to not working for the Ipad. How can I dismiss my keyboard programmatically? Thanks, ...

Keyboard - move ViewController up when keyboard pops up.

Hello, I have a number of text fields on a view controller, when the keyboard appears, it covers some of the text field that are towards the middle of the view controller. Is there a way to move the ViewController up when the keyboard appears. Stephen ...

what we can use insted of UIKeyboardBoundsUserInfoKey in iphone os 4.0

Hi all i am using this code in my application. CGRect keyboardBounds = [(NSValue *)[[notification userInfo] objectForKey:UIKeyboardBoundsUserInfoKey] CGRectValue]; but UIKeyboardBoundsUserInfoKey is deprecated in iOS 4.0 i am using UIKeyboardFrameEndUserInfoKey and UIKeyboardFrameBeginUserInfoKey in iOS 4.0 but these are giving diffe...

How can I show the keyboard when I start editing my email text field?

I want to show the keyboard when I start editing a text field.,i am having an email field in my view so that i want to show up key board when i begin editing it... ...

show the keyboard of a textfield on top of the screen

In my iphone apps, my problem is that I have a textfield at the bottom of the screen, so when the keyboard appear, he hides the textfied, there is a way to show the keyboard on the top of the screen? thanks, Alex ...