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 can I declare that a text field can only contain an integer?

In swift, I am trying to make a text field that will allow a button to be enabled, but only …

text swift int uitextfield textfield
Multi-line user input in iOS: UITextField vs UITextView

I need to show users a multi-line text input "box" with a height greater than the standard height of a …

ios swift uitextfield uitextview multiline
Detect Focus Change for UITextField

I'm trying to set the animation for the view to move up when keyboard is hiding and appearing for the …

iphone ios ios5 uitextfield xcode4.3
Easy way to disable a UITextField?

Is there an easy way to disable a UITextField in code? My app has 12 UITextField that are all turned on …

iphone ios uitextfield
How to dismiss number pad keyboard by tapping anywhere

I'd like to know the simplest code to dismiss the number pad keyboard when tapping anywhere outside the number pad. …

iphone ios xcode numbers uitextfield
iPhone how to get UITextField's text while typing?

I'm trying to show changes made to a UITextField on a separate UILabel. Is there a way to capture full …

iphone objective-c ios uitextfield
Drop Shadow on UITextField text

Is it possible to add a shadow to the text in a UITextField?

iphone objective-c uikit uitextfield shadow
Programmatically Select all text in UITextField

How can I programmatically select all text in UITextField?

ios swift uitextfield uikit
Indent the text in a UITextField

My question is as simple as the title, but here's a little more: I have a UITextField, on which I've …

iphone objective-c ios cocoa-touch uitextfield
Swift: Become First Responder on UITextField Not Working?

I've created a custom UIViewController with one UITextField on Storyboard. On viewDidLoad, I set the UITextFIeld to becomeFirstResponder, nothing happened (…

ios swift storyboard uitextfield becomefirstresponder