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.

disable button when textfields are empty

hi im a beginner to programming and have been stuck on this task for ages and seem to be getting …

objective-c nsstring uitextfield uitextfielddelegate
How can I limit the number of decimal points in a UITextField?

I have a UITextField that when clicked brings up a number pad with a decimal point in the bottom left. …

ios uitextfield decimal-point
resignFirstResponder for all textfields

I'm working on an iphone app with multiple textfields on a viewcontroller. I'm a bit confused with resignfirstresponder and setting …

iphone objective-c uitextfield
Xcode UI Testing - typing text with typeText() method and autocorrection

I've got a test like below: let navnTextField = app.textFields["First Name"] let name = "Henrik" navnTextField.tap() navnTextField.typeText("Henrik") …

uitextfield ios9 xctest xcode-ui-testing
get notified when UITextField becomeFirstResponder

How I can get notified when UITextField becomeFirstResponder ? I can check like isFirstResponder or set to to become first Responder …

iphone ios uitextfield first-responder becomefirstresponder
iOS 13 - UITextField with Placeholder getting app crash

In iOS 13, I'm getting a crash when accessing the UITextField _placeholderLabel.textColor label key. The key used to apply placeholder …

uitextfield ios13 placeholder
Action when pressing return key on keyboard (iOS)

- (BOOL)textFieldShouldReturn:(UITextField *)textField { [self checkRun:nil]; return YES; } I'm trying to complete the IBAction checkRun when the return …

ios objective-c uitextfield ibaction
How to Test Character Input to UITextField as the User Enters Characters and Prevent Invalid Characters

First, I setup up the keyboard for the UITextField to use the number with decimal style. So the user can …

ios validation uitextfield user-input