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.

Resigning First Responder for multiple UITextFields

There is an application in which I am generating multiple UITextFields dynamically. I want to resign first responder whenever the …

iphone ios uitextfield resignfirstresponder
What does 70% grey mean and how do I specify this in UIColor?

I'd like to replicate the default color of the UITextField placeholder field. From the documentation: The placeholder string is drawn …

ios uitextfield uicolor
Re-Apply currency formatting to a UITextField on a change event

I'm working with a UITextField that holds a localized currency value. I've seen lots of posts on how to work …

iphone uitextfield currency nsnumberformatter
Add UITextField to UIToolbar

I tried this to add UITextField to a UIToolbar but got a run-time error with reason as: [UITextField view]: unrecognized …

objective-c ios uitextfield uitoolbar
Multiple pickerviews with multiple textfield inputviews Swift

I've been searching through the forum and nothing has helped. I am using 4 text fields in one view controller, and …

swift uitextfield uipickerview
Text from UITextFieldTextDidChangeNotification

I have a UITextField with this NSNotification: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(textFieldDidChange:) name:@"UITextFieldTextDidChangeNotification" object:_searchTextField]; - (void)…

iphone objective-c uitextfield nsnotificationcenter nsnotification
How to find out what UITextField caused a UIKeyboardWillShowNotification?

I am trying to use a customized keyboard in my application, but I am hitting problems when trying to restrict …

iphone keyboard uitextfield nsnotifications
How to increase UITextField height in iphone

I'm creating UITextField using Xib. That default height is 30. But I want to increase that text field height to 40. Here …

iphone uitextfield xib outlet
Hiding the Keyboard on button click?

I am creating iPhone app which I show below. At the end of screen I have text field. I have …

ios objective-c cocoa-touch uitextfield uitextfielddelegate
self.delegate = self; what's wrong in doing that?

self.delegate = self; what's wrong in doing that? and what is the correct way of doing it? Thanks, Nir. Code: (…

iphone uitextfield delegates self