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 disable copy paste option from UITextField programmatically

I am making a registration alertview that has a UITextField in it where the user can enter their registration number. …

ios iphone uitextfield uialertview copy-paste
Detect backspace in empty UITextField

Is there any way to detect when the Backspace/Delete key is pressed in the iPhone keyboard on a UITextField …

ios iphone uitextfield backspace
How to set focus to a textfield in iphone?

How do you programmatically set focus to some textfield in iPhone as the result of pressing on the textfield?

ios uitextfield
How to add a 'Done' button to numpad keyboard in iOS

So, the numpad keyboard doesn't come with a 'Done' or 'Next' button by default so I'd like to add one. …

ios iphone cocoa-touch uitextfield uikit
Add image to UITextField in Xcode?

I need to implement the concept of dropdown in Xcode. For that purpose, I'm using a UIPickerview. This pickerView loads …

iphone xcode uitextfield uipickerview
Change of UITextField placeholder color

How to dynamically change placeholder color of the UITextField? This is always the same system color. No option in xib …

ios uitextfield
How to toggle a UITextField secure text entry (hide password) in Swift?

I currently have a UITextfield with an eye icon in it that when pressed is supposed to toggle the secure …

ios swift uitextfield
UITextField - capture return button event

How can I detect when a user pressed "return" keyboard button while editing UITextField? I need to do this in …

ios iphone cocoa-touch uitextfield backspace
How do you obscure text in a password field in an iPhone Application?

I have a password field in my application (UITextField). When user enters text in the field, I want it to …

ios objective-c iphone uitextfield
Getting the Value of a UITextField as keystrokes are entered?

Let's say I have the following code: IBOutlet UITextField* nameTextField; IBOutlet UILabel* greetingLabel; I'd like the greetingLabel to read "Hello […

ios objective-c cocoa-touch uitextfield