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.

Format UITextField text without having cursor move to the end

I am trying to apply NSAttributedString styles to a UITextField after processing a new text entry, keystroke by keystroke. The …

ios swift uitextfield uitextfielddelegate
How do I validate TextFields in an UIAlertController?

Can anyone tell me how to validate UITextFields inside of a UIAlertController? I need it to prevent the user from …

ios swift uitextfield uialertview
Providing *hint* in text field in ios 7 as edittext field in android

I am creating a feedback form in an ios7 application and want to place few UITextFields which contain hints in …

objective-c ios7 uitextfield xcode5.0.1
UIControlEventEditingChanged doesn't get fired when using setText of UITextfield

I am currently trying to track the states of a textfield. I am using a custom datePicker which sets the …

ios cocoa-touch uitextfield uidatepicker
iOS - Dismiss UIDatePicker presented as inputView

I have a text field in my UI that when it's selected presents a UIDatePicker instead of the default keyboard, …

ios uitextfield uidatepicker inputview
UISearchBar custom corners

I'm trying to create a search bar like this: But I'm noticing that I'm probably going to have to replace …

ios swift uitextfield uisearchbar uisearchcontroller
UITextPosition in UITextField

Is there any way for me to get at a UITextField's current caret position through the text field's UITextRange object? …

ios uitextfield uitextrange uitextposition
How do I subclass UITextField and override drawPlaceholderInRect to change Placeholder color

I have a 3 UITextField with placeholder text set. On one of the UITextField I want the placeholder text to be …

iphone objective-c ios uitextfield subclass
iPhone perform action when UITextField / UISearchBar's clear button is pressed

Is it possible to gain access to a delegate method that will allow additional actions to be performed when the "…

iphone uitextfield uisearchbar
Right aligned UITextField spacebar does not advance cursor in iOS 7

In my iPad app, I noticed different behavior between iOS 6 and iOS 7 with UITextFields. I create the UITextField as follows: …

ios objective-c ios7 uitextfield space