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.

UITextField lose focus event

I have an UITextField in a MyCustomUIView class and when the UITextField loses focus, I'd like to hide the field …

ios objective-c uitextfield uitextfielddelegate
Dismissing keyboard from UISearchBar when the X button is tapped

I'm using the UISearchBar (but not the SearchDisplayController that's typically used in conjunction) and I'd like to dismiss the keyboard …

iphone uitextfield uisearchbar
Unable to add UITextField to UIAlertView on iOS7...works in iOS 6

The code below works on iOS6 (and before) but the UITextField does not display in iOS7...any ideas on how …

objective-c ios7 uitextfield uialertview uialertviewdelegate
UIPickerView as inputView of UITextField

I've read a lot about how I can use a UIPickerView as the inputView of my UITextField. The thing is, …

ios iphone objective-c uitextfield uipickerview
Customize UITextfield of the UISearchbar - iOS

I'm trying to customize the textfield for the UISearchbar. The picture below shows my half done work. I have subclasses …

ios uitextfield uisearchbar quartz-core
Detecting a change to text in UITextfield

I would like to be able to detect if some text is changed in a UITextField so that I can …

objective-c ipad ios6 uitextfield uitextfielddelegate
First letter in UiTextField lowercase

How do you make it so that when you start typing on the keyboard after youve clicked on a UITextfield …

iphone objective-c uitextfield
What's the default color for placeholder text in UITextField?

Does anyone know what color a UITextField's placeholder text is, by default? I'm trying to set a UITextView's text to …

ios uitextfield uicolor
How to make the text of UITextField to appear with First letter Capital in iPhone

I have a text box and I am only interested in capitalizing the first letter, So how to do that …

ios iphone uitextfield
Add lefthand margin to UITextField

I want to put the left margin of a UITextField's text at 10 px. What is the best way to do …

ios cocoa-touch uitextfield alignment leftalign