Top "Uitextfield" questions

A UITextField object is a control that displays editable text and sends an action message to a target object when the user presses the return button.

How to change UITextField keyboard type to email in Swift

In objective-c I can just say the following. [self.promoTextField setKeyboardType:UIKeyboardTypeEmailAddress]; I tried googling it but just get ways …

swift uitextfield
Add a Done button within a pop-up datePickerView in Swift?

I want to add a Done button within a popped up datePickerView in Swift. Here is the code: @IBOutlet var …

ios swift uitextfield uidatepicker
How to disable pasting in a TextField in Swift?

I've got a TextField with a numberPad and the function runs only if it contains numbers. The user will crash …

swift uitextfield paste
Disable UITextField Predictive Text

With the release of iOS 8 I would like to disable the predictive text section of the keyboard when I begin …

xcode uitextfield ios8
Display datepicker on tapping on textfield

How can I display a datetimepicker control on tap of a textbox? I have a user interface that has arrival …

ios4 xcode4 uitextfield uidatepicker
UITextField: move view when keyboard appears

I'm currently working on an iPhone application with a single view, which has multiple UITextFields for input. When the keyboard …

iphone objective-c cocoa-touch uitextfield
iPad keyboard will not dismiss if modal ViewController presentation style is UIModalPresentationFormSheet

Note: See accepted answer (not top voted one) for solution as of iOS 4.3. This question is about a behavior discovered …

ios iphone objective-c uitextfield first-responder
Uppercase characters in UItextfield

I have a question about iOS UIKeyboard. I have a UITextField and I would to have the keyboard with only …

ios iphone uitextfield uistoryboard
How to Show UIPickerView when selecting UITextField

Here is a screenshot of what I did till now: So what I am trying to do is when you …

ios objective-c uitextfield uipickerview
How can I show the numeric keyboard by default on iPhone?

I'm trying the following with no luck. When the user click on a UiTextfield I need to change the keyboard …

iphone ios objective-c keyboard uitextfield