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.

Using `textField:shouldChangeCharactersInRange:`, how do I get the text including the current typed character?

I'm using the code below to try and have textField2's text content get updated to match textField1's whenever …

ios objective-c uitextfield
Getting and Setting Cursor Position of UITextField and UITextView in Swift

I've been experimenting with UITextField and how to work with it's cursor position. I've found a number of relation Objective-C …

ios swift uitextfield uitextview uitextposition
how to add an action on UITextField return key?

I have a button and text textfield in my view. when i click on the textfield a keyboard appears and …

ios objective-c iphone swift uitextfield
iPhone Keyboard Covers UITextField

I have an app where, in Interface Builder, I set up a UIView that has a text field near the …

ios iphone keyboard uitextfield
How to disable UITextField editing but still accept touch?

I'm making a UITextField that has a UIPickerView as inputView. Its all good, except that I can edit by copy, …

ios uitextfield uipickerview
iOS/Swift: how to detect touch action on a UITextField

I would like to detect the touch action on a UITextField. It seems the "Touch Up Inside" action is not …

ios swift uitextfield touch-up-inside
Set UITextField Maximum Length

Is there any way to set the maximum length on a UITextField? Something like the MAXLENGTH attribute in HTML input …

iphone uitextfield max
How set swift 3 UITextField border color?

Hello i have working no error codes for UITextfield border color change but when using it in Swift 3 dont change …

ios swift swift3 uitextfield
How to dismiss keyboard when touching anywhere outside UITextField (in swift)?

I'm working on a project that have a UIViewController, on the view controller there is a UIScrollView and a UITextField …

ios swift uitextfield uikeyboard
UITextField auto-capitalization type - iPhone App

Is there a way to set the autocapitalizationType for a UITextField so that the first letter of each word is …

ios uitextfield